Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Reeder <mark@arcticflare.com>2012-01-30 09:14:07 +0400
committerMark Reeder <mark@arcticflare.com>2012-01-30 09:14:07 +0400
commitf9b53d424e55bca4c7efe6220d36acafaee613cd (patch)
tree70af8eededacd65e32c0d1c4dde780d812700dfb /js/bootstrap-collapse.js
parent0de951f4f41c798dead8525e78153fc6c5da1479 (diff)
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/bootstrap-collapse.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 ee36840d2a..8134cc42ff 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')