From eb3450508ee91aa03e38aeaeac58ffc54bc07870 Mon Sep 17 00:00:00 2001 From: Rob Eisenberg Date: Tue, 4 Aug 2015 10:02:57 -0400 Subject: [PATCH] fix(view-slot): out of bounds on array for content selector remove all Fixes #136 --- src/view-slot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view-slot.js b/src/view-slot.js index 99a59c80..42abf117 100644 --- a/src/view-slot.js +++ b/src/view-slot.js @@ -308,7 +308,7 @@ export class ViewSlot { view = children[i]; for(j = 0; j < jj; ++j){ - contentSelectors[j].removeAt(i, view.fragment); + contentSelectors[j].removeAt(0, view.fragment); } }