mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-19 14:00:24 +00:00
Scope finding the .active to .item
This commit is contained in:
parent
269ce715f1
commit
c028e33358
1 changed files with 1 additions and 1 deletions
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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue