mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(dom) Cmd jqueryLoad: add navigator.onLine
This commit is contained in:
parent
4646997262
commit
d5adbd3b1f
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue