From 52fe892baedb2425ad0eb89b049be0463fa38527 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 4 Mar 2016 11:05:58 +0100 Subject: [PATCH] invert logical relationship with flag otherwise updates don't actually propogate --- www/vdom/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/vdom/main.js b/www/vdom/main.js index a1abef7ed..40c9f376f 100644 --- a/www/vdom/main.js +++ b/www/vdom/main.js @@ -133,7 +133,7 @@ define([ }; var onRemote = function (shjson) { - if (!initializing) { return; } + if (initializing) { return; } // remember where the cursor is cursor.update(); @@ -160,7 +160,6 @@ define([ console.log("Aborting the session!"); // stop the user from continuing to edit setEditable(false); - // TODO inform them that the session was torn down };