mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fix collapse bug in ie7+ for initial collapse in
This commit is contained in:
parent
07d23b927e
commit
630ff4ff7d
Binary file not shown.
2
docs/assets/js/bootstrap-collapse.js
vendored
2
docs/assets/js/bootstrap-collapse.js
vendored
@ -74,7 +74,7 @@
|
||||
[dimension](size || 'auto')
|
||||
[0].offsetWidth
|
||||
|
||||
this.$element[size ? 'addClass' : 'removeClass']('collapse')
|
||||
this.$element[size != null ? 'addClass' : 'removeClass']('collapse')
|
||||
|
||||
return this
|
||||
}
|
||||
|
2
js/bootstrap-collapse.js
vendored
2
js/bootstrap-collapse.js
vendored
@ -74,7 +74,7 @@
|
||||
[dimension](size || 'auto')
|
||||
[0].offsetWidth
|
||||
|
||||
this.$element[size ? 'addClass' : 'removeClass']('collapse')
|
||||
this.$element[size != null ? 'addClass' : 'removeClass']('collapse')
|
||||
|
||||
return this
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user