Skip to content

Commit

Permalink
Fix tiff#46 where ALT+I causes problems on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Blum committed Apr 19, 2012
1 parent 33f2eaa commit 820492c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/composer.observe.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
dom.observe(element, "keydown", function(event) {
var keyCode = event.keyCode,
command = shortcuts[keyCode];
if ((event.ctrlKey || event.metaKey) && command) {
if ((event.ctrlKey || event.metaKey) && !event.altKey && command) {
that.commands.exec(command);
event.preventDefault();
}
Expand Down

0 comments on commit 820492c

Please sign in to comment.