witten
/
luminotes
Archived
1
0
Fork 0

Ignoring ctrl key being released in IE 6 and 7.

This commit is contained in:
Dan Helfman 2007-11-30 04:00:31 +00:00
parent 2832cebb48
commit ac3759dcee
1 changed files with 2 additions and 1 deletions

View File

@ -282,7 +282,8 @@ Editor.prototype.key_released = function ( event ) {
// if ctrl keys are released, bail
var code = event.key().code;
if ( event.modifier().ctrl )
var CTRL = 17;
if ( event.modifier().ctrl || code == CTRL )
return;
signal( this, "state_changed", this );