mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-02 20:40:24 +00:00
fixes #8134
This commit is contained in:
parent
f1009c19b3
commit
68e87183a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue