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');