mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 14:46:34 +02:00
remove slide from carousel constructor #5579
This commit is contained in:
1
js/bootstrap-carousel.js
vendored
1
js/bootstrap-carousel.js
vendored
@@ -29,7 +29,6 @@
|
||||
var Carousel = function (element, options) {
|
||||
this.$element = $(element)
|
||||
this.options = options
|
||||
this.options.slide && this.slide(this.options.slide)
|
||||
this.options.pause == 'hover' && this.$element
|
||||
.on('mouseenter', $.proxy(this.pause, this))
|
||||
.on('mouseleave', $.proxy(this.cycle, this))
|
||||
|
Reference in New Issue
Block a user