From 68e87183a0c2d82b0f62d6c9d79bb89311bb3409 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Tue, 23 Jul 2013 18:54:00 -0700 Subject: [PATCH] fixes #8134 --- js/carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/carousel.js b/js/carousel.js index 4def0cec28..2e5d978535 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -162,7 +162,7 @@ return this.each(function () { var $this = $(this) var data = $this.data('bs.carousel') - var options = $.extend({}, Carousel.DEFAULTS, typeof option == 'object' && option) + var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option) var action = typeof option == 'string' ? option : options.slide if (!data) $this.data('bs.carousel', (data = new Carousel(this, options))) -- 2.47.2