r104820 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104819‎ | r104820 | r104821 >
Date:01:03, 1 December 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Removed unneeded condition
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/models/es.SurfaceModel.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/models/es.SurfaceModel.js
@@ -73,7 +73,7 @@
7474 this.selection.from !== selection.from ||
7575 this.selection.to !== selection.to
7676 );
77 - if ( !combine || selectionChanged ) {
 77+ if ( selectionChanged ) {
7878 var lastAction = this.states[this.states.length - 1];
7979 if ( lastAction instanceof es.Range ) {
8080 this.currentStateDistance += Math.abs(

Status & tagging log