From 3fdceaaf06e2b1bba6a27ee2ee038d0278f414a7 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sun, 17 Jan 2016 09:59:03 -0600 Subject: Fixed history not update if note have no content and lz-string version mismatch --- public/js/index.js | 1 + 1 file changed, 1 insertion(+) (limited to 'public/js') 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 () { -- cgit v1.2.3