diff options
| author | Chris Rebert <[email protected]> | 2014-05-22 09:00:19 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-06-13 12:12:32 -0700 |
| commit | f071549c8408241b88a95192e477816d2402eb6e (patch) | |
| tree | 54c0b9dedf8926af06178183938bd24972a6f024 | |
| parent | ed06fd0936ba2c03ecb052eb65a89c5be94b1b8d (diff) | |
| download | bootstrap-f071549c8408241b88a95192e477816d2402eb6e.tar.xz bootstrap-f071549c8408241b88a95192e477816d2402eb6e.zip | |
fix #13386
| -rw-r--r-- | js/carousel.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/carousel.js b/js/carousel.js index 05631f7a3..d3e7e52b4 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -203,6 +203,7 @@ var href var $this = $(this) var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7 + if (!$target.hasClass('carousel')) return var options = $.extend({}, $target.data(), $this.data()) var slideIndex = $this.attr('data-slide-to') if (slideIndex) options.interval = false |
