Skip to content

Commit

Permalink
only set height explicitly for collapse when animation is supported #…
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Jun 3, 2012
1 parent a38bc90 commit 91a7274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-collapse.js
Expand Up @@ -67,7 +67,7 @@

this.$element[dimension](0)
this.transition('addClass', $.Event('show'), 'shown')
this.$element[dimension](this.$element[0][scroll])
$.support.transition && this.$element[dimension](this.$element[0][scroll])
}

, hide: function () {
Expand Down

0 comments on commit 91a7274

Please sign in to comment.