[BUGFIX] Clear link/node in sidebar destory

This commit is contained in:
Xaver Maierhofer 2018-10-27 15:08:40 +02:00
parent 84085727a6
commit c02cf3be95
No known key found for this signature in database
GPG Key ID: 7FDCE23FD2EC9FE8
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ define(['infobox/link', 'infobox/node', 'infobox/location'], function (Link, Nod
function destroy() {
if (el && el.parentNode) {
el.parentNode.removeChild(el);
el = undefined;
node = link = el = undefined;
sidebar.reveal();
}
}