Update to bring up view rendering earlier on first loading

This commit is contained in:
Cheng-Han, Wu 2016-06-17 15:59:25 +08:00
parent fe249c01f5
commit a9fc8d0dff

View file

@ -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