mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
cb62b0a763
commit
b78f8162ce
1 changed files with 4 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ CloudCommander.Viewer.Keys = (function(){
|
|||
return function(event){
|
||||
/* если клавиши можно обрабатывать */
|
||||
if(CloudCommander.keyBinded){
|
||||
/* if f4 pressed */
|
||||
/* if f3 pressed */
|
||||
if(event.keyCode===114){
|
||||
CloudCommander.Viewer.FancyBox.set();
|
||||
var lCurrent = pParent.getByClass('current-file');
|
||||
|
|
@ -85,9 +85,11 @@ CloudCommander.Viewer.Keys = (function(){
|
|||
|
||||
var lA = lCurrent.getElementsByClassName('fancybox');
|
||||
|
||||
var lConfig = pParent.FancyBox.config;
|
||||
|
||||
lA.length &&
|
||||
$.fancybox.open({ href : lA[0].href },
|
||||
pParent.FancyBox.config);
|
||||
lConfig);
|
||||
|
||||
event.preventDefault();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue