[BUGFIX] Use appendChild for old browsers

This commit is contained in:
Xaver Maierhofer 2017-04-16 14:30:30 +02:00
parent 0fd085af24
commit fdd7d10c0f
No known key found for this signature in database
GPG Key ID: 7FDCE23FD2EC9FE8

View File

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