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

View File

@ -133,7 +133,7 @@ define([
}; };
var onRemote = function (shjson) { var onRemote = function (shjson) {
if (!initializing) { return; } if (initializing) { return; }
// remember where the cursor is // remember where the cursor is
cursor.update(); cursor.update();
@ -160,7 +160,6 @@ define([
console.log("Aborting the session!"); console.log("Aborting the session!");
// stop the user from continuing to edit // stop the user from continuing to edit
setEditable(false); setEditable(false);
// TODO inform them that the session was torn down // TODO inform them that the session was torn down
}; };