mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 10:09:04 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
b04cfcd3fd
commit
59a816d9a7
1 changed files with 2 additions and 1 deletions
|
|
@ -108,7 +108,8 @@ CloudCommander.Menu.Keys = (function(){
|
|||
|
||||
CloudCommander.Menu.load(this);
|
||||
|
||||
document.onmousedown = function(){
|
||||
document.onmousedown = function(){
|
||||
console.log(this)
|
||||
if(event.button === CloudCommander.MOUSE_BUTTON.RIGHT)
|
||||
CloudCommander.Menu.show();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue