[BUGFIX] Clear link/node in sidebar destory
This commit is contained in:
parent
84085727a6
commit
c02cf3be95
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user