Merge pull request #17568 from Johann-S/fixCollapseHeight

[Fix #17555][V4] fix resetting style on closing collapse
This commit is contained in:
Mark Otto 2016-10-09 20:32:40 -07:00 committed by GitHub
commit 4d725c90d6
2 changed files with 16 additions and 1 deletions

View file

@ -235,7 +235,7 @@ const Collapse = (($) => {
.trigger(Event.HIDDEN)
}
this._element.style[dimension] = 0
this._element.style[dimension] = ''
if (!Util.supportsTransitionEnd()) {
complete()