Commit 52db6456 by Kim Peace

Fixed to hide loading indicator when it back from offline

parent 63262cab
...@@ -111,6 +111,9 @@ Common.refreshForOnline = function () { ...@@ -111,6 +111,9 @@ Common.refreshForOnline = function () {
if (typeof Namecard != "undefined") { if (typeof Namecard != "undefined") {
Namecard.refreshForOnline(); Namecard.refreshForOnline();
} }
if (document.readyState == "complete") {
Common.dismissLoadingIndicator();
}
}; };
Common.refreshForOffline = function () { Common.refreshForOffline = function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment