mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Fix typo rawr
Change-Id: Ib80b5e62aa4053c070ebdd065f327b54a30dc90f
This commit is contained in:
parent
a57be133fb
commit
884e107a24
|
@ -251,8 +251,8 @@ ve.dm.TransactionProcessor.processors.replace = function( op ) {
|
|||
// Update the linear model for this insert
|
||||
ve.batchSplice( this.document.data, this.cursor, opRemove.length, opInsert );
|
||||
affectedRanges.push( new ve.Range(
|
||||
this.cursor - this.adjusment,
|
||||
this.cursor - this.adjusment + opRemove.length
|
||||
this.cursor - this.adjustment,
|
||||
this.cursor - this.adjustment + opRemove.length
|
||||
) );
|
||||
prevCursor = this.cursor;
|
||||
this.cursor += opInsert.length;
|
||||
|
|
Loading…
Reference in a new issue