From d5adbd3b1f69d77c11d89f45eb9b9c3538748668 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 2 Oct 2013 13:32:41 +0000 Subject: [PATCH] feature(dom) Cmd jqueryLoad: add navigator.onLine --- lib/client/dom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/dom.js b/lib/client/dom.js index e63937bc..452bc40d 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1051,7 +1051,7 @@ var CloudCmd, Util, DOM, CloudFunc; */ this.jqueryLoad = function(pCallBack) { CloudCmd.getConfig(function(config) { - var online = config.online; + var online = config.online && navigator.onLine; Util.ifExec(!online, function() {