diff --git a/lib/client/dom.js b/lib/client/dom.js index 493fe0e3..47bd6e9c 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1128,7 +1128,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; if (!Title) Title = DOM.getByTag('title')[0] || DOM.load({ - name :'title', + name : 'title', innerHTML : name, parentElement : document.head }); @@ -1755,7 +1755,10 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; files = current.parentElement, panel = files.parentElement, - panelPassive = Cmd.getPanel({active:false}), + panelPassive = Cmd.getPanel({ + active: false + }), + filesPassive = DOM.getFiles(panelPassive), name = Cmd.getCurrentName(current); diff --git a/lib/client/key.js b/lib/client/key.js index d5e553d8..be9e2ab8 100644 --- a/lib/client/key.js +++ b/lib/client/key.js @@ -70,7 +70,7 @@ var CloudCmd, Util, DOM; TRA : 192, /* Typewritten Reverse Apostrophe (`) */ BACKSLASH : 220, - BRACKET_CLOSE :221 + BRACKET_CLOSE: 221 }; KeyProto.prototype = KEY; diff --git a/lib/client/listeners.js b/lib/client/listeners.js index 3a374897..302659d1 100644 --- a/lib/client/listeners.js +++ b/lib/client/listeners.js @@ -333,7 +333,7 @@ var Util, DOM, CloudFunc, CloudCmd; function online() { var cssSet = DOM.load.style.bind(null, { - id :'local-droids-font', + id : 'local-droids-font', element : document.head, inner : '@font-face {font-family: "Droid Sans Mono";' + 'font-style: normal;font-weight: normal;' + diff --git a/lib/client/notify.js b/lib/client/notify.js index 76e24e42..f2d7877c 100644 --- a/lib/client/notify.js +++ b/lib/client/notify.js @@ -17,7 +17,7 @@ var Util, DOM; Notification = window.Notification; Events.add({ - 'blur' :function() { + 'blur': function() { Show = true; }, 'focus': function() { diff --git a/lib/client/storage/_filepicker.js b/lib/client/storage/_filepicker.js index dd246cba..a1b5025f 100644 --- a/lib/client/storage/_filepicker.js +++ b/lib/client/storage/_filepicker.js @@ -37,7 +37,7 @@ var CloudCmd, Util, DOM, filepicker; DOM.load.ajax({ url : fpFile.url, - responseType :'arraybuffer', + responseType : 'arraybuffer', success : function(data) { Util.exec(callback, fpFile.filename, data); } diff --git a/lib/client/view.js b/lib/client/view.js index 1f92e03f..b4bdfe52 100644 --- a/lib/client/view.js +++ b/lib/client/view.js @@ -277,10 +277,10 @@ var CloudCmd, Util, DOM, CloudFunc, $; DOM.load.css(prefix + '/css/view.css', callback); DOM.load.style({ - id:'view-css', - inner : '#fancybox-loading {' + - 'display: none' + - '}' + id : 'view-css', + inner : '#fancybox-loading {' + + 'display: none' + + '}' }); }); }