2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00
This commit is contained in:
Jacob Thornton
2012-02-20 22:02:04 -08:00
parent f046c12bd2
commit d149a131c1
2 changed files with 2 additions and 2 deletions
Binary file not shown.
+2 -2
View File
@@ -83,14 +83,14 @@
, 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')