mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
14ee930620
commit
3d77db4ae2
1 changed files with 2 additions and 2 deletions
|
|
@ -114,9 +114,9 @@ CloudCommander.Menu.Keys = (function(){
|
|||
var lTag = event.target.nodeName;
|
||||
if(event.button === CloudCommander.MOUSE_BUTTON.RIGHT)
|
||||
if(lTag === 'SPAN')
|
||||
lThis.setCurrentFile(event.target.parentElement.parentElement)
|
||||
else if(lTag === 'A')
|
||||
lThis.setCurrentFile(event.target.parentElement)
|
||||
else if(lTag === 'A')
|
||||
lThis.setCurrentFile(event.target.parentElement.parentElement)
|
||||
|
||||
CloudCommander.Menu.show();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue