mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -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
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue