Fix trimming of debug log: remove first, use proper iteration var
FREEBIE
This commit is contained in:
parent
80fd70de13
commit
87a1fcc406
1 changed files with 2 additions and 1 deletions
|
@ -39,8 +39,9 @@
|
|||
for (var i = 0; i < toDrop; i += 1) {
|
||||
entries.push(this.at(i));
|
||||
}
|
||||
this.remove(entries);
|
||||
for (var j = 0, max = entries.length; j < max; j += 1) {
|
||||
entries[i].destroy();
|
||||
entries[j].destroy();
|
||||
}
|
||||
},
|
||||
print: function() {
|
||||
|
|
Loading…
Reference in a new issue