mirror of
https://github.com/twbs/bootstrap.git
synced 2025-11-05 00:04:19 -05:00
Fixes issue with Opera flickering on the collapse plugin when reset is called without specifying the size
https://github.com/twitter/bootstrap/issues/1208
This commit is contained in:
parent
0de951f4f4
commit
f9b53d424e
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