From c02cf3be95aa34acb1cd51e1cb0e973bec6f4ced Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Sat, 27 Oct 2018 15:08:40 +0200 Subject: [PATCH] [BUGFIX] Clear link/node in sidebar destory --- lib/infobox/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/infobox/main.js b/lib/infobox/main.js index c2076e4..b607075 100644 --- a/lib/infobox/main.js +++ b/lib/infobox/main.js @@ -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(); } }