From 24fb92d843ab317c3fca945cabc9b311e09e6f40 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 11 Nov 2014 14:29:38 +0200 Subject: showInfo: hide via jquery, visibility/display is tricky (fixes #132) --- scripts/rz_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/rz_core.js b/scripts/rz_core.js index 48367735..a2c47abe 100644 --- a/scripts/rz_core.js +++ b/scripts/rz_core.js @@ -569,7 +569,7 @@ function showInfo(d, i) { if (confirm('This node and all its connections will be deleted, are you sure?')) { graph.removeNode(d.id, null); graph.update(false); - document.querySelector('.info').style.visibility = "hidden"; + $('.info').hide(); } }); } else { -- cgit v1.3.1