Commit 22f851fa authored by fat's avatar fat
Browse files

apply #14022 without semicolon – cleans up some jquery class usage

parent 043b4063
Showing with 2 additions and 3 deletions
+2 -3
...@@ -88,8 +88,7 @@ ...@@ -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 @@ ...@@ -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'))
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment