Unverified Commit 4f5a7c96 authored by J2TeaM's avatar J2TeaM
Browse files

Fix eslint (prefer-template)

parent edc43a4e
Showing with 2 additions and 2 deletions
+2 -2
...@@ -353,10 +353,10 @@ const Carousel = (($) => { ...@@ -353,10 +353,10 @@ const Carousel = (($) => {
$(activeElement) $(activeElement)
.one(Util.TRANSITION_END, () => { .one(Util.TRANSITION_END, () => {
$(nextElement) $(nextElement)
.removeClass(directionalClassName + ' ' + direction) .removeClass(`${directionalClassName} ${direction}`)
.addClass(ClassName.ACTIVE) .addClass(ClassName.ACTIVE)
$(activeElement).removeClass(ClassName.ACTIVE + ' ' + direction + ' ' + directionalClassName) $(activeElement).removeClass(`${ClassName.ACTIVE} ${direction} ${directionalClassName}`)
this._isSliding = false this._isSliding = false
......
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