mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 17:35:34 +00:00
Update lib/client/keyBinding.js
This commit is contained in:
parent
9d2f301dd8
commit
753d9c1b59
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