diff --git a/lib/client/keyBinding.js b/lib/client/keyBinding.js index cf361206..4d123ff1 100644 --- a/lib/client/keyBinding.js +++ b/lib/client/keyBinding.js @@ -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(); } })