Minor fix: incorrect refactoring

This commit is contained in:
Inez Korczynski 2011-12-07 01:13:08 +00:00
parent 0ec2775621
commit b5d822ec1d

View file

@ -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( '' );
}