Fix syntax error in 9d7f4e94b5

Change-Id: Ia063de19bf54cb32d4a72304f3289c6c7fa669ca
This commit is contained in:
Catrope 2012-08-22 11:14:23 -07:00
parent 31bf0ea1f8
commit 31fdb1044b

View file

@ -472,7 +472,7 @@ ve.ce.Surface.prototype.onKeyPress = function ( e ) {
}
// Is there an expanded range and something other than keycodes 0 (nothing) or 27 (esc) were pressed?
if ( selection.getLength() > 0 && ( e.which !== 0 || e.which !== 27 ) {
if ( selection.getLength() > 0 && ( e.which !== 0 || e.which !== 27 ) ) {
this.stopPolling();
this.model.change(
ve.dm.Transaction.newFromRemoval(