mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01: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:
commit
734bfe7f78
2
js/bootstrap-collapse.js
vendored
2
js/bootstrap-collapse.js
vendored
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user