Fixed history not update if note have no content and lz-string version mismatch

This commit is contained in:
Wu Cheng-Han 2016-01-17 09:59:03 -06:00
parent 762bf63581
commit 3fdceaaf06
5 changed files with 5 additions and 4 deletions

View file

@ -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 () {