Update lib/client/menu.js

This commit is contained in:
coderaiser 2012-08-14 15:44:03 +03:00
parent b04cfcd3fd
commit 59a816d9a7

View file

@ -108,7 +108,8 @@ CloudCommander.Menu.Keys = (function(){
CloudCommander.Menu.load(this);
document.onmousedown = function(){
document.onmousedown = function(){
console.log(this)
if(event.button === CloudCommander.MOUSE_BUTTON.RIGHT)
CloudCommander.Menu.show();
};