don't do javascript key shortcuts when modifiers are pressed
[booh] / lib / booh / html-merges.rb
index c1d954fdd47f8d339a65ee411a2e8bb4abbe7d37..494d910a7e10c94d767b252871fd4f49c9884c30 100644 (file)
@@ -354,6 +354,9 @@ function keyDownEvent(key) {
         key = event;
         key.which = key.keyCode;
     }
+    if (key.altKey || key.ctrlKey || key.shiftKey) {
+        return;
+    }
     switch (key.which) {
       case 36: // home
         first();