mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
remove slide from carousel constructor #5579
This commit is contained in:
Vendored
-1
@@ -29,7 +29,6 @@
|
|||||||
var Carousel = function (element, options) {
|
var Carousel = function (element, options) {
|
||||||
this.$element = $(element)
|
this.$element = $(element)
|
||||||
this.options = options
|
this.options = options
|
||||||
this.options.slide && this.slide(this.options.slide)
|
|
||||||
this.options.pause == 'hover' && this.$element
|
this.options.pause == 'hover' && this.$element
|
||||||
.on('mouseenter', $.proxy(this.pause, this))
|
.on('mouseenter', $.proxy(this.pause, this))
|
||||||
.on('mouseleave', $.proxy(this.cycle, this))
|
.on('mouseleave', $.proxy(this.cycle, this))
|
||||||
|
|||||||
Vendored
-1
@@ -290,7 +290,6 @@
|
|||||||
var Carousel = function (element, options) {
|
var Carousel = function (element, options) {
|
||||||
this.$element = $(element)
|
this.$element = $(element)
|
||||||
this.options = options
|
this.options = options
|
||||||
this.options.slide && this.slide(this.options.slide)
|
|
||||||
this.options.pause == 'hover' && this.$element
|
this.options.pause == 'hover' && this.$element
|
||||||
.on('mouseenter', $.proxy(this.pause, this))
|
.on('mouseenter', $.proxy(this.pause, this))
|
||||||
.on('mouseleave', $.proxy(this.cycle, this))
|
.on('mouseleave', $.proxy(this.cycle, this))
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
-1
@@ -29,7 +29,6 @@
|
|||||||
var Carousel = function (element, options) {
|
var Carousel = function (element, options) {
|
||||||
this.$element = $(element)
|
this.$element = $(element)
|
||||||
this.options = options
|
this.options = options
|
||||||
this.options.slide && this.slide(this.options.slide)
|
|
||||||
this.options.pause == 'hover' && this.$element
|
this.options.pause == 'hover' && this.$element
|
||||||
.on('mouseenter', $.proxy(this.pause, this))
|
.on('mouseenter', $.proxy(this.pause, this))
|
||||||
.on('mouseleave', $.proxy(this.cycle, this))
|
.on('mouseleave', $.proxy(this.cycle, this))
|
||||||
|
|||||||
Reference in New Issue
Block a user