mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Fix syntax error in 9d7f4e94b5
Change-Id: Ia063de19bf54cb32d4a72304f3289c6c7fa669ca
This commit is contained in:
parent
31bf0ea1f8
commit
31fdb1044b
|
@ -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?
|
// 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.stopPolling();
|
||||||
this.model.change(
|
this.model.change(
|
||||||
ve.dm.Transaction.newFromRemoval(
|
ve.dm.Transaction.newFromRemoval(
|
||||||
|
|
Loading…
Reference in a new issue