mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
lol we dont' have affix(refresh)
This commit is contained in:
3
docs/assets/js/bootstrap-carousel.js
vendored
3
docs/assets/js/bootstrap-carousel.js
vendored
@@ -97,7 +97,6 @@
|
||||
, isCycling = this.interval
|
||||
, direction = type == 'next' ? 'left' : 'right'
|
||||
, fallback = type == 'next' ? 'first' : 'last'
|
||||
, $nextIndicator
|
||||
, that = this
|
||||
, e
|
||||
|
||||
@@ -116,7 +115,7 @@
|
||||
if (this.$indicators.length) {
|
||||
this.$indicators.find('.active').removeClass('active')
|
||||
this.$element.one('slid', function () {
|
||||
$nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
|
||||
var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
|
||||
$nextIndicator && $nextIndicator.addClass('active')
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user