mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
Update lib/client/keyBinding.js
This commit is contained in:
parent
295502b95f
commit
97bb6b6ddc
1 changed files with 3 additions and 5 deletions
|
|
@ -23,11 +23,9 @@ CloudCommander.KEY = {
|
|||
F10 : 121
|
||||
};
|
||||
|
||||
CloudCommander.mouseBinding = (function(){
|
||||
document.oncontextmenu = function(){
|
||||
if(typeof CloudCommander.Menu === 'function')
|
||||
CloudCommander.Menu();
|
||||
}
|
||||
CloudCommander.mouseBinding = (function(pEvent){
|
||||
if(typeof CloudCommander.Menu === 'function')
|
||||
CloudCommander.Menu({pEvent.x, pEvent.y});
|
||||
})
|
||||
|
||||
CloudCommander.keyBinding = (function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue