Fix for issue #546

Detects if the key pressed is really CTRL not Alt Gr
This commit is contained in:
franga2000
2014-03-09 15:56:12 +01:00
parent ce4c35c448
commit f6321c2484

View File

@@ -17,8 +17,10 @@
.keydown(function(e) {
if (!args) args = [];
if (e.keyCode == key && (e.ctrlKey || e.metaKey)) {
callback.apply(this, args);
return false;
if (!(e.ctrlKey && event.altKey)) {
callback.apply(this, args);
return false;
}
}
});
};