From f9b53d424e55bca4c7efe6220d36acafaee613cd Mon Sep 17 00:00:00 2001 From: Mark Reeder Date: Sun, 29 Jan 2012 21:14:07 -0800 Subject: [PATCH] Fixes issue with Opera flickering on the collapse plugin when reset is called without specifying the size https://github.com/twitter/bootstrap/issues/1208 --- js/bootstrap-collapse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')