mirror of
https://github.com/jasny/bootstrap.git
synced 2026-01-14 17:08:01 -05:00
Scope finding the .active to .item
This commit is contained in:
2
js/bootstrap-carousel.js
vendored
2
js/bootstrap-carousel.js
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user