diff options
author | Wu Cheng-Han | 2016-01-17 09:59:03 -0600 |
---|---|---|
committer | Wu Cheng-Han | 2016-01-17 09:59:03 -0600 |
commit | 3fdceaaf06e2b1bba6a27ee2ee038d0278f414a7 (patch) | |
tree | 208f2d8d40262aaaf882191db8329db09d800bcb /public/js | |
parent | 762bf6358130d9e392d8662f73a47ae0a6db0d06 (diff) |
Fixed history not update if note have no content and lz-string version mismatch
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index 3ba9ee5e..9329d38a 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1228,6 +1228,7 @@ socket.on('refresh', function (data) { editor.refresh(); } loaded = true; + updateHistory(); //update history whether have content or not emitUserStatus(); //send first user status updateOnlineStatus(); //update first online status setTimeout(function () { |