aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-carousel.js
diff options
context:
space:
mode:
authordmitriybudnik <[email protected]>2012-10-15 21:55:32 +0300
committerdmitriybudnik <[email protected]>2012-10-15 22:35:32 +0300
commit432eaff29cc05f488fc0a1c87d1e28d86ef3641e (patch)
treec64c50d3450f21365420568f0f5fc8fe3610df6b /js/bootstrap-carousel.js
parent7e534ce98acf03229e09b8ae478cb3598d3882cd (diff)
downloadbootstrap-432eaff29cc05f488fc0a1c87d1e28d86ef3641e.tar.xz
bootstrap-432eaff29cc05f488fc0a1c87d1e28d86ef3641e.zip
Fixed copy/paste caused typo
Diffstat (limited to 'js/bootstrap-carousel.js')
-rw-r--r--js/bootstrap-carousel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js
index 0d7167e1c..0852cf3f4 100644
--- a/js/bootstrap-carousel.js
+++ b/js/bootstrap-carousel.js
@@ -167,7 +167,7 @@
$('body').on('click.carousel.data-api', '[data-slide]', function ( e ) {
var $this = $(this), href
, $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
- , options = !$target.data('modal') && $.extend({}, $target.data(), $this.data())
+ , options = !$target.data('carousel') && $.extend({}, $target.data(), $this.data())
$target.carousel(options)
e.preventDefault()
})