mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
feature(listeners) rm online
This commit is contained in:
parent
1438f2f36a
commit
7a27b40068
1 changed files with 0 additions and 17 deletions
|
|
@ -22,7 +22,6 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
dragndrop();
|
||||
unload();
|
||||
pop();
|
||||
online();
|
||||
};
|
||||
|
||||
this.initKeysPanel = function() {
|
||||
|
|
@ -297,22 +296,6 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
});
|
||||
}
|
||||
|
||||
function online() {
|
||||
var cssSet = DOM.load.style.bind(null, {
|
||||
id : 'local-droids-font',
|
||||
element : document.head,
|
||||
inner : '@font-face {font-family: "Droid Sans Mono";' +
|
||||
'font-style: normal;font-weight: normal;' +
|
||||
'src: local("Droid Sans Mono"), local("DroidSansMono"),' +
|
||||
' url("/font/DroidSansMono.woff") format("woff");}'
|
||||
});
|
||||
|
||||
if (navigator.onLine)
|
||||
Events.addOnce('offline', cssSet);
|
||||
else
|
||||
cssSet();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
})(Util, DOM, CloudFunc, CloudCmd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue