2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Merge pull request #3770 from Barryvdh/2.1.0-wip

Scope carousel .active to .item
This commit is contained in:
Jacob Thornton
2012-06-20 10:58:20 -07:00
+1 -1
View File
@@ -88,7 +88,7 @@
}
, slide: function (type, next) {
var $active = this.$element.find('.active')
var $active = this.$element.find('.item.active')
, $next = next || $active[type]()
, isCycling = this.interval
, direction = type == 'next' ? 'left' : 'right'