From 9a75976db33f4aaeeea852d3a4d37e5d0300437f Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Fri, 6 Jul 2018 17:30:38 -0700 Subject: [PATCH] Fix latent (benign) error thrown when removing dom-if via innerHTML. --- lib/elements/dom-if.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/elements/dom-if.html b/lib/elements/dom-if.html index dc41e243a4..0560c450cd 100644 --- a/lib/elements/dom-if.html +++ b/lib/elements/dom-if.html @@ -255,8 +255,10 @@ if (c$ && c$.length) { // use first child parent, for case when dom-if may have been detached let parent = c$[0].parentNode; - for (let i=0, n; (i