mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
Update lib/client/keyBinding.js
This commit is contained in:
parent
9e4e8ac87a
commit
92a3058502
1 changed files with 4 additions and 1 deletions
|
|
@ -30,8 +30,11 @@ CloudCommander.MOUSE_BUTTON = {
|
|||
CloudCommander.mouseBinding = (function(){
|
||||
document.onmousedown = function(){
|
||||
if(typeof CloudCommander.Menu === 'function' &&
|
||||
event.button === CloudCommander.MOUSE_BUTTON.RIGHT)
|
||||
event.button === CloudCommander.MOUSE_BUTTON.RIGHT){
|
||||
CloudCommander.Menu();
|
||||
|
||||
event.preventDefault();
|
||||
}
|
||||
};
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue