mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Minor fix: incorrect refactoring
This commit is contained in:
parent
0ec2775621
commit
b5d822ec1d
|
@ -37,7 +37,7 @@ es.ListView.prototype.enumerate = function() {
|
|||
if ( !levels[styles.length - 1] ) {
|
||||
levels[styles.length - 1] = 0;
|
||||
}
|
||||
this.children[i].$icon.text( number + '.' );
|
||||
this.children[i].$icon.text( ++levels[styles.length - 1] + '.' );
|
||||
} else {
|
||||
this.children[i].$icon.text( '' );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue