2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

remove slide from carousel constructor #5579

This commit is contained in:
fat
2012-12-07 17:49:05 -05:00
parent 66b70016d0
commit 91fbadad5b
4 changed files with 1 additions and 4 deletions
-1
View File
@@ -290,7 +290,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))