]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove commented out code
authorMark Otto <markdotto@gmail.com>
Mon, 5 Dec 2016 05:05:57 +0000 (21:05 -0800)
committerMark Otto <markdotto@gmail.com>
Mon, 5 Dec 2016 05:05:57 +0000 (21:05 -0800)
js/src/carousel.js

index a8c16283e207da4d1dea9845bbf021e26a8020c1..304d0160f682ccb976253242427d521f27683842 100644 (file)
@@ -328,10 +328,6 @@ const Carousel = (($) => {
         eventDirectionName = Direction.RIGHT
       }
 
-      // const directionalClassName = direction === Direction.NEXT ?
-      //   ClassName.LEFT :
-      //   ClassName.RIGHT
-
       if (nextElement && $(nextElement).hasClass(ClassName.ACTIVE)) {
         this._isSliding = false
         return