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

Commit

Permalink
if the content has no size and opened is true, we need to make sure to
Browse files Browse the repository at this point in the history
set the collapsible to auto (previously it was incorrectly set to 0)
  • Loading branch information
frankiefu committed Aug 25, 2014
1 parent c3f1903 commit d6f9d18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core-collapse.html
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@
if (!this.fixedSize) {
this.updateSize('auto', null);
var s = this.calcSize();
if (s == 0) {
this.transitionEnd();
return;
}
this.updateSize(0, null);
}
this.async(function() {
Expand Down

0 comments on commit d6f9d18

Please sign in to comment.