aboutsummaryrefslogtreecommitdiff
path: root/js/carousel.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-06-19 14:51:52 -0700
committerChris Rebert <[email protected]>2014-06-19 14:51:52 -0700
commit9488bd58f90c8435c20dd4e596244d10f8b698fa (patch)
treec6099419b19a3ce59582d2aaee9dd9a47b5ac2b8 /js/carousel.js
parenta33f6f89301914dcca781db5f8d8b8ad5fcd54ea (diff)
parentf983e4944f474d3bbfb9ac1890465881c759d397 (diff)
downloadbootstrap-9488bd58f90c8435c20dd4e596244d10f8b698fa.tar.xz
bootstrap-9488bd58f90c8435c20dd4e596244d10f8b698fa.zip
Merge pull request #13867 from hnrch02/remove-depreacted-jscs-rules
Remove deprecated JSCS rules
Diffstat (limited to 'js/carousel.js')
-rw-r--r--js/carousel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/carousel.js b/js/carousel.js
index 05631f7a3..7418ec5f5 100644
--- a/js/carousel.js
+++ b/js/carousel.js
@@ -202,7 +202,7 @@
$(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
var href
var $this = $(this)
- var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
var options = $.extend({}, $target.data(), $this.data())
var slideIndex = $this.attr('data-slide-to')
if (slideIndex) options.interval = false