aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <[email protected]>2012-12-07 17:49:05 -0500
committerfat <[email protected]>2012-12-07 17:49:05 -0500
commit91fbadad5b058f160eb3b5eb8e88432e0088efee (patch)
treea913e2049fbe9def0d92354d20347c844f128d21 /js
parent66b70016d0f083098c32ad051173e6f52a6b2084 (diff)
downloadbootstrap-91fbadad5b058f160eb3b5eb8e88432e0088efee.tar.xz
bootstrap-91fbadad5b058f160eb3b5eb8e88432e0088efee.zip
remove slide from carousel constructor #5579
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-carousel.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js
index ba26a5cd4..238ff4280 100644
--- a/js/bootstrap-carousel.js
+++ b/js/bootstrap-carousel.js
@@ -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))