Skip to content
Snippets Groups Projects
Unverified Commit c02cf3be authored by Xaver Maierhofer's avatar Xaver Maierhofer
Browse files

[BUGFIX] Clear link/node in sidebar destory

parent 84085727
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ define(['infobox/link', 'infobox/node', 'infobox/location'], function (Link, Nod ...@@ -10,7 +10,7 @@ define(['infobox/link', 'infobox/node', 'infobox/location'], function (Link, Nod
function destroy() { function destroy() {
if (el && el.parentNode) { if (el && el.parentNode) {
el.parentNode.removeChild(el); el.parentNode.removeChild(el);
el = undefined; node = link = el = undefined;
sidebar.reveal(); sidebar.reveal();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment