mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
chore(listeners) lUrl -> url
This commit is contained in:
parent
047f6fa925
commit
5ba53f850f
1 changed files with 4 additions and 4 deletions
|
|
@ -19,10 +19,10 @@ var Util, DOM, CloudCmd;
|
|||
if (analytics && online) {
|
||||
Events.addOnce('mousemove', function() {
|
||||
var FIVE_SECONDS = 5000,
|
||||
lUrl = CloudCmd.LIBDIRCLIENT + 'analytics.js';
|
||||
url = CloudCmd.LIBDIRCLIENT + 'analytics.js';
|
||||
|
||||
setTimeout(function() {
|
||||
DOM.jsload(lUrl);
|
||||
DOM.jsload(url);
|
||||
}, FIVE_SECONDS);
|
||||
});
|
||||
}
|
||||
|
|
@ -155,7 +155,7 @@ var Util, DOM, CloudCmd;
|
|||
i, n, a, ai, current, link, loadDir,
|
||||
filesElement = DOM.getByClass('files', lPanel),
|
||||
files = filesElement.children,
|
||||
lUrl = CloudCmd.HOST,
|
||||
url = CloudCmd.HOST,
|
||||
loadDirOnce = CloudCmd.loadDir();
|
||||
|
||||
/* ставим загрузку гифа на клик*/
|
||||
|
|
@ -165,7 +165,7 @@ var Util, DOM, CloudCmd;
|
|||
n = pathLinks.length;
|
||||
for (i = 0; i < n; i++) {
|
||||
ai = pathLinks[i];
|
||||
link = Util.removeStr(ai.href, lUrl),
|
||||
link = Util.removeStr(ai.href, url),
|
||||
loadDir = CloudCmd.loadDir(link),
|
||||
|
||||
Events.addClick(loadDir, ai);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue