mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
minor changes
This commit is contained in:
parent
a52160fa7b
commit
0d7038a150
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
var CloudCommander, CloudFunc;
|
||||
var CloudCommander, CloudFunc, $;
|
||||
/* object contains viewer FancyBox
|
||||
* https://github.com/fancyapps/fancyBox
|
||||
*/
|
||||
|
|
@ -76,7 +76,8 @@ CloudCommander.Viewer.Keys = (function(){
|
|||
var lA = lCurrent.getElementsByClassName('fancybox');
|
||||
|
||||
lA.length &&
|
||||
lA[0].click();
|
||||
$.fancybox.open({ href : lA[0].href },
|
||||
{ padding : 0 } );
|
||||
|
||||
event.preventDefault();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue