summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-06-17 15:59:25 +0800
committerCheng-Han, Wu2016-06-17 15:59:25 +0800
commita9fc8d0dffc67af6e3ecd18daccefb9aa74ed682 (patch)
treedb50600c3998ac67e029fd44004da53a24666074
parentfe249c01f5b8052b49ea445150a5c512fd91b083 (diff)
Update to bring up view rendering earlier on first loading
-rw-r--r--public/js/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 7ec4bbd7..2f68dc76 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -1914,6 +1914,7 @@ socket.on('refresh', function (data) {
editor.refresh();
}
loaded = true;
+ updateViewInner(); // bring up view rendering earlier
updateHistory(); //update history whether have content or not
emitUserStatus(); //send first user status
updateOnlineStatus(); //update first online status