projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bae3f2d
)
don't do javascript key shortcuts when modifiers are pressed
author
gc
<gc>
Mon, 30 Jan 2006 21:41:07 +0000
(21:41 +0000)
committer
gc
<gc>
Mon, 30 Jan 2006 21:41:07 +0000
(21:41 +0000)
lib/booh/html-merges.rb
patch
|
blob
|
history
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();