Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
it shouldn't need to check inDocument in update
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Mar 11, 2014
1 parent 4852d16 commit e28bb43
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions polymer-collapse.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
size: null,
attached: function() {
this.installControllerStyles();
this.inDocument = true;
this.async(function() {
this.afterInitialUpdate = true;
});
Expand Down Expand Up @@ -188,7 +187,7 @@
}
},
update: function() {
if (!this.target || !this.inDocument) {
if (!this.target) {
return;
}
if (!this.isTargetReady) {
Expand Down

0 comments on commit e28bb43

Please sign in to comment.