mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-12 04:02:26 +02:00
apply #14022 without semicolon – cleans up some jquery class usage
This commit is contained in:
parent
043b40636c
commit
22f851fa62
@ -88,8 +88,7 @@
|
|||||||
|
|
||||||
this.$element
|
this.$element
|
||||||
.addClass('collapsing')
|
.addClass('collapsing')
|
||||||
.removeClass('collapse')
|
.removeClass('collapse in')
|
||||||
.removeClass('in')
|
|
||||||
|
|
||||||
this.transitioning = 1
|
this.transitioning = 1
|
||||||
|
|
||||||
@ -110,7 +109,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Collapse.prototype.toggle = function () {
|
Collapse.prototype.toggle = function () {
|
||||||
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
$this.toggleClass('collapsed', $target.hasClass('in'))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user