Permalink
Browse files

Fixes the looping bug in bootstrap carousel

fixed in 2.0.2 but I don't want to wait
  • Loading branch information...
1 parent 6efee94 commit 24a629d8b54327712d466468eb660e47bd1526c4 Chris Nicola committed Mar 8, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 vendor/assets/javascripts/bootstrap-carousel.js
@@ -83,8 +83,6 @@
, fallback = type == 'next' ? 'first' : 'last'
, that = this
- if (!$next.length) return
-
this.sliding = true
isCycling && this.pause()
@@ -154,4 +152,4 @@
})
})
-}( window.jQuery );
+}( window.jQuery );

0 comments on commit 24a629d

Please sign in to comment.