mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
fix build
This commit is contained in:
parent
7933a50ee5
commit
c08e275000
@ -109,7 +109,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Collapse.prototype.toggle = function () {
|
Collapse.prototype.toggle = function () {
|
||||||
$this.toggleClass('collapsed', $target.hasClass('in'))
|
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -160,7 +160,7 @@
|
|||||||
|
|
||||||
if (!data || !data.transitioning) {
|
if (!data || !data.transitioning) {
|
||||||
if ($parent) $parent.find('[data-toggle="collapse"][data-parent="' + parent + '"]').not($this).addClass('collapsed')
|
if ($parent) $parent.find('[data-toggle="collapse"][data-parent="' + parent + '"]').not($this).addClass('collapsed')
|
||||||
$this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
|
$this.toggleClass('collapsed', $target.hasClass('in'))
|
||||||
}
|
}
|
||||||
|
|
||||||
Plugin.call($target, option)
|
Plugin.call($target, option)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user