From e114727ae94934f0f916eb2b5969b93ae4e408dc Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 25 Apr 2014 17:50:38 -0700 Subject: [PATCH] Carousel.slide: rename e => slideEvent --- js/carousel.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/carousel.js b/js/carousel.js index 07df865460..06e3f3731d 100644 --- a/js/carousel.js +++ b/js/carousel.js @@ -104,9 +104,9 @@ if ($next.hasClass('active')) return this.sliding = false var relatedTarget = $next[0] - var e = $.Event('slide.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) - this.$element.trigger(e) - if (e.isDefaultPrevented()) return + var slideEvent = $.Event('slide.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) + this.$element.trigger(slideEvent) + if (slideEvent.isDefaultPrevented()) return this.sliding = true