diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-06-03 08:26:34 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-06-03 08:26:34 +0400 |
commit | 91a7274a43836484cdf27e34c45856e4b715f778 (patch) | |
tree | dbe5a96e683ecb9763831ce0b35039ce33e89819 /js/bootstrap-collapse.js | |
parent | a38bc90b482c086e805aa2e942b56cd1429d5766 (diff) |
only set height explicitly for collapse when animation is supported #2131
Diffstat (limited to 'js/bootstrap-collapse.js')
-rw-r--r-- | js/bootstrap-collapse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js index da64a3238a..45eea2906e 100644 --- a/js/bootstrap-collapse.js +++ b/js/bootstrap-collapse.js @@ -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 () { |