summaryrefslogtreecommitdiff
path: root/src/client/rz_core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/rz_core.js')
-rw-r--r--src/client/rz_core.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/rz_core.js b/src/client/rz_core.js
index 3da4f8c7..626e29da 100644
--- a/src/client/rz_core.js
+++ b/src/client/rz_core.js
@@ -219,8 +219,11 @@ var initDrawingArea = function () {
// we need to deduplicate this event
// but there is no coordination, resulting in double updates.
selection.selectionChangedBus.onValue(
- function() { update_view__graph(false);
- });
+ function() {
+ main_graph.setRegularState();
+ update_view__graph(false);
+ }
+ );
var user_id = $('#user_id'),
user = user_id.text();