mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactored
This commit is contained in:
parent
594a0e92cc
commit
df16cf02dc
2 changed files with 15 additions and 20 deletions
|
|
@ -305,11 +305,8 @@ var CloudCommander, Util, DOM, $;
|
|||
if( KeyBinding.get() ){
|
||||
/* if shift + F10 pressed */
|
||||
if(lKeyCode === lKEY.F10 && pEvent.shiftKey){
|
||||
var lCurrent = DOM.getCurrentFile();
|
||||
if(lCurrent)
|
||||
$(lCurrent).contextMenu();
|
||||
|
||||
pEvent.preventDefault();
|
||||
$( DOM.getCurrentFile() ).contextMenu();
|
||||
DOM.preventDefault(pEvent);
|
||||
}
|
||||
}
|
||||
else if (lKeyCode === lKEY.ESC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue