mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #3770 from Barryvdh/2.1.0-wip
Scope carousel .active to .item
This commit is contained in:
commit
eb62c977cd
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…
Add table
Reference in a new issue