Update lib/client/keyBinding.js

This commit is contained in:
coderaiser 2012-08-14 17:30:45 +03:00
parent 6f9905da08
commit 6d6dbf45f5

View file

@ -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();
}
})