mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
minor changes
This commit is contained in:
parent
e5669f24fd
commit
9ec5d1162d
1 changed files with 6 additions and 1 deletions
|
|
@ -58,15 +58,20 @@ CloudCommander.Viewer.Keys = (function(){
|
|||
if(CloudCommander.keyBinded){
|
||||
/* if f4 pressed */
|
||||
if(event.keyCode===114){
|
||||
CloudCommander.keyBinded = false;
|
||||
|
||||
CloudCommander.Viewer.FancyBox.set();
|
||||
var lCurrent = pParent.getByClass('current-file');
|
||||
lCurrent.length &&
|
||||
(lCurrent = lCurrent[0]);
|
||||
|
||||
var lA = lCurrent.getElementsByClassName('fancybox');
|
||||
|
||||
|
||||
lA.length &&
|
||||
$.fancybox.open({ href : lA[0].href },{
|
||||
beforeClose: (function(){
|
||||
CloudCommander.keyBinded = true;
|
||||
}),
|
||||
helpers : {
|
||||
overlay : {
|
||||
opacity: 0.1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue