From 1a3f786b8a56dfe58fedc482354c6831e06b72ba Mon Sep 17 00:00:00 2001 From: Uli Fahrer Date: Sat, 7 Jan 2017 15:54:33 +0100 Subject: [PATCH] Fix tooltip issue causing exception when node becomes cluster --- lib/network/modules/InteractionHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/network/modules/InteractionHandler.js b/lib/network/modules/InteractionHandler.js index 4d61d5a1..3f7a139d 100644 --- a/lib/network/modules/InteractionHandler.js +++ b/lib/network/modules/InteractionHandler.js @@ -694,7 +694,7 @@ class InteractionHandler { // we initially only check stillOnObj because this is much faster. if (stillOnObj === true) { let overNode = this.selectionHandler.getNodeAt(pointer); - stillOnObj = overNode.id === this.popup.popupTargetId; + stillOnObj = overNode === undefined ? false : overNode.id === this.popup.popupTargetId; } } }