r105403 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105402‎ | r105403 | r105404 >
Date:01:13, 7 December 2011
Author:inez
Status:deferred
Tags:
Comment:
Minor fix: incorrect refactoring
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/views/es.ListView.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/views/es.ListView.js
@@ -37,7 +37,7 @@
3838 if ( !levels[styles.length - 1] ) {
3939 levels[styles.length - 1] = 0;
4040 }
41 - this.children[i].$icon.text( number + '.' );
 41+ this.children[i].$icon.text( ++levels[styles.length - 1] + '.' );
4242 } else {
4343 this.children[i].$icon.text( '' );
4444 }

Status & tagging log