aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMark Reeder <[email protected]>2012-01-29 21:14:07 -0800
committerMark Reeder <[email protected]>2012-01-29 21:14:07 -0800
commitf9b53d424e55bca4c7efe6220d36acafaee613cd (patch)
tree70af8eededacd65e32c0d1c4dde780d812700dfb /js
parent0de951f4f41c798dead8525e78153fc6c5da1479 (diff)
downloadbootstrap-f9b53d424e55bca4c7efe6220d36acafaee613cd.tar.xz
bootstrap-f9b53d424e55bca4c7efe6220d36acafaee613cd.zip
Fixes issue with Opera flickering on the collapse plugin when reset is called without specifying the size
https://github.com/twitter/bootstrap/issues/1208
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-collapse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js
index ee36840d2..8134cc42f 100644
--- a/js/bootstrap-collapse.js
+++ b/js/bootstrap-collapse.js
@@ -71,7 +71,7 @@
this.$element
.removeClass('collapse')
- [dimension](size || '')
+ [dimension](size || 'auto')
[0].offsetWidth
this.$element.addClass('collapse')