]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remake
authorJacob Thornton <jacobthornton@gmail.com>
Tue, 21 Feb 2012 06:02:04 +0000 (22:02 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Tue, 21 Feb 2012 06:02:04 +0000 (22:02 -0800)
docs/assets/bootstrap.zip
docs/assets/js/bootstrap-carousel.js

index 9764009092e7361cfca4910636ed5634c068c2f4..f23ad0bdf04e951409ee1639d4d4a7a63d5164f9 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 810256e80a646d1e8cbda4ab072ca805eb211121..aef98fb05aa9eca392ee892f10302a7a1a6538de 100644 (file)
         , fallback  = type == 'next' ? 'first' : 'last'
         , that = this
 
-      if (!$next.length) return
-
       this.sliding = true
 
       isCycling && this.pause()
 
       $next = $next.length ? $next : this.$element.find('.item')[fallback]()
 
+      if ($next.hasClass('active')) return
+
       if (!$.support.transition && this.$element.hasClass('slide')) {
         this.$element.trigger('slide')
         $active.removeClass('active')