mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
Scope finding the .active to .item
This commit is contained in:
Vendored
+1
-1
@@ -88,7 +88,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
, slide: function (type, next) {
|
, slide: function (type, next) {
|
||||||
var $active = this.$element.find('.active')
|
var $active = this.$element.find('.item.active')
|
||||||
, $next = next || $active[type]()
|
, $next = next || $active[type]()
|
||||||
, isCycling = this.interval
|
, isCycling = this.interval
|
||||||
, direction = type == 'next' ? 'left' : 'right'
|
, direction = type == 'next' ? 'left' : 'right'
|
||||||
|
|||||||
Reference in New Issue
Block a user