1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 01:55:46 +02:00

Merge pull request #1421 from MarkReeder/2.0-wip

Fixes Opera flickering on the collapse plugin when reset is called without specifying the size
This commit is contained in:
Jacob Thornton
2012-01-29 23:40:34 -08:00

View File

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