[BUGFIX] Use appendChild for old browsers
This commit is contained in:
parent
0fd085af24
commit
fdd7d10c0f
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user