0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Scope finding the .active to .item

This commit is contained in:
Barryvdh 2012-06-08 16:19:08 +03:00
parent 269ce715f1
commit c028e33358

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'