1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-09 23:26:40 +02:00

fix resetting style on closing collapse

This commit is contained in:
Johann-S
2015-09-11 10:45:08 +02:00
parent 4ee6d99c9d
commit 32f9a5d6a5
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()