diff options
| author | fat <[email protected]> | 2012-12-19 23:39:26 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2012-12-19 23:39:26 -0800 |
| commit | bbe4625672c5122bb2b06c495f9ea41752c10467 (patch) | |
| tree | da0dcc4bf5fb7bfbed012e186fb28fc1658f2595 /docs/assets/js/bootstrap-carousel.js | |
| parent | 7f9ff0ba5b679914defd8bdd45bcf930ee201286 (diff) | |
| download | bootstrap-bbe4625672c5122bb2b06c495f9ea41752c10467.tar.xz bootstrap-bbe4625672c5122bb2b06c495f9ea41752c10467.zip | |
lol we dont' have affix(refresh)
Diffstat (limited to 'docs/assets/js/bootstrap-carousel.js')
| -rw-r--r-- | docs/assets/js/bootstrap-carousel.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/assets/js/bootstrap-carousel.js b/docs/assets/js/bootstrap-carousel.js index 520b962df..6a1b21f37 100644 --- a/docs/assets/js/bootstrap-carousel.js +++ b/docs/assets/js/bootstrap-carousel.js @@ -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') }) } |
