Skip to content

Commit

Permalink
Fixes issue with Opera flickering on the collapse plugin when reset i…
Browse files Browse the repository at this point in the history
…s called without specifying the size

twbs#1208
  • Loading branch information
MarkReeder committed Jan 30, 2012
1 parent 0de951f commit f9b53d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@

this.$element
.removeClass('collapse')
[dimension](size || '')
[dimension](size || 'auto')
[0].offsetWidth

this.$element.addClass('collapse')
Expand Down

0 comments on commit f9b53d4

Please sign in to comment.