diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-18 23:37:01 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-18 23:37:01 +0200 |
| commit | 2153abe2a2e3b4bdbba5abd8bc85efc4cf13a1c6 (patch) | |
| tree | dbbc65e79dd9ae210f4d8fbe9b1f89643dbc4a06 /src | |
| parent | a205dad5217405592bdf67d6c769a3694d6a343c (diff) | |
add removeHighlight to avoid accumulating link highlighting
Diffstat (limited to 'src')
| -rw-r--r-- | src/rz_core.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rz_core.js b/src/rz_core.js index 38f3f9a4..3f43b99d 100644 --- a/src/rz_core.js +++ b/src/rz_core.js @@ -214,6 +214,7 @@ function update(no_relayout) { view.edge_info.hide(); }); view.edge_info.show(d); + removeHighlight(); highlight(source); highlight(target); source.state = 'chosen'; |
