diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-11 14:29:38 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-11 14:31:57 +0200 |
| commit | 24fb92d843ab317c3fca945cabc9b311e09e6f40 (patch) | |
| tree | 6b8a05e0b7b68a698952b212119ac0786effbbf1 /scripts/rz_core.js | |
| parent | 05cd5684942244422fc4c5a7775e373cf209bf7c (diff) | |
showInfo: hide via jquery, visibility/display is tricky (fixes #132)
Diffstat (limited to 'scripts/rz_core.js')
| -rw-r--r-- | scripts/rz_core.js | 2 |
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 { |
