]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes issue with Opera flickering on the collapse plugin when reset is called without... 1421/head
authorMark Reeder <mark@arcticflare.com>
Mon, 30 Jan 2012 05:14:07 +0000 (21:14 -0800)
committerMark Reeder <mark@arcticflare.com>
Mon, 30 Jan 2012 05:14:07 +0000 (21:14 -0800)
https://github.com/twitter/bootstrap/issues/1208

js/bootstrap-collapse.js

index ee36840d2a52215c2d0be7b3a268b16fc9296857..8134cc42ffd34f214b4d7ec5c90619907445eff7 100644 (file)
@@ -71,7 +71,7 @@
 
       this.$element
         .removeClass('collapse')
-        [dimension](size || '')
+        [dimension](size || 'auto')
         [0].offsetWidth
 
       this.$element.addClass('collapse')