From e28bb439c8846136738235b246faed21934d0f5d Mon Sep 17 00:00:00 2001 From: frankiefu Date: Tue, 11 Mar 2014 14:31:21 -0700 Subject: [PATCH] it shouldn't need to check inDocument in update --- polymer-collapse.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/polymer-collapse.html b/polymer-collapse.html index 171d17a..5600145 100644 --- a/polymer-collapse.html +++ b/polymer-collapse.html @@ -97,7 +97,6 @@ size: null, attached: function() { this.installControllerStyles(); - this.inDocument = true; this.async(function() { this.afterInitialUpdate = true; }); @@ -188,7 +187,7 @@ } }, update: function() { - if (!this.target || !this.inDocument) { + if (!this.target) { return; } if (!this.isTargetReady) {