Fix trimming of debug log: remove first, use proper iteration var

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago
parent 80fd70de13
commit 87a1fcc406
No known key found for this signature in database
GPG Key ID: A4931C09644C654B

@ -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…
Cancel
Save