projects
/
booh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't do javascript key shortcuts when modifiers are pressed
[booh]
/
lib
/
booh
/
html-merges.rb
diff --git
a/lib/booh/html-merges.rb
b/lib/booh/html-merges.rb
index c1d954fdd47f8d339a65ee411a2e8bb4abbe7d37..494d910a7e10c94d767b252871fd4f49c9884c30 100644
(file)
--- a/
lib/booh/html-merges.rb
+++ b/
lib/booh/html-merges.rb
@@
-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();