Skip to content

Commit

Permalink
Remove unnecessary limit check
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorBreakfast authored Jan 15, 2018
1 parent bc95c5a commit 5fb9c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elements/dom-repeat.html
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@
let itemIdx = isntIdxToItemsIdx[instIdx];
let item = items[itemIdx];
itemsIdxToInstIdx[itemIdx] = instIdx;
if (inst && instIdx < this.__limit) {
if (inst) {
inst._setPendingProperty(this.as, item);
inst._setPendingProperty(this.indexAs, instIdx);
inst._setPendingProperty(this.itemsIndexAs, itemIdx);
Expand Down

0 comments on commit 5fb9c55

Please sign in to comment.