0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

only set height explicitly for collapse when animation is supported #2131

This commit is contained in:
Jacob Thornton 2012-06-02 21:26:34 -07:00
parent a38bc90b48
commit 91a7274a43

View File

@ -67,7 +67,7 @@
this.$element[dimension](0) this.$element[dimension](0)
this.transition('addClass', $.Event('show'), 'shown') this.transition('addClass', $.Event('show'), 'shown')
this.$element[dimension](this.$element[0][scroll]) $.support.transition && this.$element[dimension](this.$element[0][scroll])
} }
, hide: function () { , hide: function () {