Fix typo.

This commit is contained in:
Jürg Lehni 2011-05-16 19:35:42 +01:00
parent d535a1f6fc
commit 97c4435d87

View file

@ -295,7 +295,7 @@ var Item = this.Item = Base.extend({
removeChildren: function() {
var removed = false;
if (this._children) {
for (var i = this._children.length; i >= 0 i--)
for (var i = this._children.length; i >= 0; i--)
removed = this._children[i].remove() || removed;
}
return removed;