From: Mark Reeder Date: Mon, 30 Jan 2012 05:14:07 +0000 (-0800) Subject: Fixes issue with Opera flickering on the collapse plugin when reset is called without... X-Git-Tag: v2.0.0~6^2~35^2^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1421%2Fhead;p=thirdparty%2Fbootstrap.git Fixes issue with Opera flickering on the collapse plugin when reset is called without specifying the size https://github.com/twitter/bootstrap/issues/1208 --- 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')