diff --git a/lib/client/keyBinding.js b/lib/client/keyBinding.js index 06f10f30..5ed040a9 100644 --- a/lib/client/keyBinding.js +++ b/lib/client/keyBinding.js @@ -30,8 +30,11 @@ CloudCommander.MOUSE_BUTTON = { CloudCommander.mouseBinding = (function(){ document.onmousedown = function(){ if(typeof CloudCommander.Menu === 'function' && - event.button === CloudCommander.MOUSE_BUTTON.RIGHT) + event.button === CloudCommander.MOUSE_BUTTON.RIGHT){ CloudCommander.Menu(); + + event.preventDefault(); + } }; })