r111146 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111145‎ | r111146 | r111147 >
Date:05:39, 10 February 2012
Author:inez
Status:ok
Tags:
Comment:
Fix showCursorAt method - missing "break;"
Modified paths:
  • /trunk/extensions/VisualEditor/modules/ve/ce/ve.es.Surface.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/ve/ce/ve.es.Surface.js
@@ -272,6 +272,7 @@
273273 if ( offset >= index && offset <= index + length ) {
274274 node = item;
275275 localOffset = offset - index;
 276+ break;
276277 } else {
277278 index += length;
278279 }

Status & tagging log