invert logical relationship with flag

otherwise updates don't actually propogate
This commit is contained in:
ansuz 2016-03-04 11:05:58 +01:00
parent 938df2b92f
commit 52fe892bae
1 changed files with 1 additions and 2 deletions

View File

@ -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
};