From fdd7d10c0f42ca9fe645b9d0281f606b6c2cc140 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Sun, 16 Apr 2017 14:30:30 +0200 Subject: [PATCH] [BUGFIX] Use appendChild for old browsers --- lib/infobox/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/infobox/main.js b/lib/infobox/main.js index 4e080a5..679f3cf 100644 --- a/lib/infobox/main.js +++ b/lib/infobox/main.js @@ -19,7 +19,7 @@ define(['infobox/link', 'infobox/node', 'infobox/location'], function (link, nod sidebar.hide(); el = document.createElement('div'); - sidebar.container.children[1].append(el); + sidebar.container.children[1].appendChild(el); el.scrollIntoView(false); el.classList.add('infobox');