diff --git a/modules/ve/ce/ve.ce.Surface.js b/modules/ve/ce/ve.ce.Surface.js index 88943ce8cd..cdd2844324 100644 --- a/modules/ve/ce/ve.ce.Surface.js +++ b/modules/ve/ce/ve.ce.Surface.js @@ -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(