mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 10:09:04 +00:00
added mouse button event handler
This commit is contained in:
parent
6fe3e77450
commit
b04cfcd3fd
1 changed files with 6 additions and 0 deletions
|
|
@ -107,4 +107,10 @@ CloudCommander.Menu.Keys = (function(){
|
|||
});
|
||||
|
||||
CloudCommander.Menu.load(this);
|
||||
|
||||
document.onmousedown = function(){
|
||||
if(event.button === CloudCommander.MOUSE_BUTTON.RIGHT)
|
||||
CloudCommander.Menu.show();
|
||||
};
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue