mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-19 14:00:24 +00:00
apply #14022 without semicolon – cleans up some jquery class usage
This commit is contained in:
parent
043b40636c
commit
22f851fa62
1 changed files with 2 additions and 3 deletions
|
|
@ -88,8 +88,7 @@
|
|||
|
||||
this.$element
|
||||
.addClass('collapsing')
|
||||
.removeClass('collapse')
|
||||
.removeClass('in')
|
||||
.removeClass('collapse in')
|
||||
|
||||
this.transitioning = 1
|
||||
|
||||
|
|
@ -110,7 +109,7 @@
|
|||
}
|
||||
|
||||
Collapse.prototype.toggle = function () {
|
||||
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
||||
$this.toggleClass('collapsed', $target.hasClass('in'))
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue