mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
Update lib/client/keyBinding.js
This commit is contained in:
parent
6f9905da08
commit
6d6dbf45f5
1 changed files with 1 additions and 7 deletions
|
|
@ -23,16 +23,10 @@ CloudCommander.KEY = {
|
|||
F10 : 121
|
||||
};
|
||||
|
||||
CloudCommander.MOUSE_BUTTON = {
|
||||
RIGHT : 2,
|
||||
}
|
||||
|
||||
CloudCommander.mouseBinding = (function(){
|
||||
//document.onmousedown = function(){
|
||||
document.oncontextmenu = function(){
|
||||
if(typeof CloudCommander.Menu === 'function')
|
||||
// && event.button === CloudCommander.MOUSE_BUTTON.RIGHT){
|
||||
CloudCommander.Menu();
|
||||
CloudCommander.Menu();
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue