1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-28 14:29:07 +02:00

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
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()