summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-11-11 14:29:38 +0200
committerAlon Levy <alon@pobox.com>2014-11-11 14:31:57 +0200
commit24fb92d843ab317c3fca945cabc9b311e09e6f40 (patch)
tree6b8a05e0b7b68a698952b212119ac0786effbbf1
parent05cd5684942244422fc4c5a7775e373cf209bf7c (diff)
showInfo: hide via jquery, visibility/display is tricky (fixes #132)
-rw-r--r--scripts/rz_core.js2
1 files changed, 1 insertions, 1 deletions
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 {