1
0
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:
fat
2012-12-19 23:39:26 -08:00
parent 7f9ff0ba5b
commit bbe4625672
5 changed files with 3 additions and 21 deletions

View File

@@ -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')
})
}