Skip to content

Commit

Permalink
ignore Ctrl-Shift key combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
balpha committed Jan 31, 2012
1 parent 41f6d69 commit 670ae67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Markdown.Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@
util.addEvent(inputBox, keyEvent, function (key) {

// Check to see if we have a button key and, if so execute the callback.
if ((key.ctrlKey || key.metaKey) && !key.altKey) {
if ((key.ctrlKey || key.metaKey) && !key.altKey && !key.shiftKey) {

var keyCode = key.charCode || key.keyCode;
var keyCodeStr = String.fromCharCode(keyCode).toLowerCase();
Expand Down

0 comments on commit 670ae67

Please sign in to comment.