Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfat <jacobthornton@gmail.com>2012-12-22 05:31:54 +0400
committerfat <jacobthornton@gmail.com>2012-12-22 05:31:54 +0400
commit82a758344d108721091d628e3a650931b29e2058 (patch)
treecdb809c9e0214360a02fdc24051d449b10dc54bf /js/bootstrap-carousel.js
parente194c3e4f44aa0089a6615dbdeab5ade8c9c6f65 (diff)
add direction prop to carousel slide event
Diffstat (limited to 'js/bootstrap-carousel.js')
-rw-r--r--js/bootstrap-carousel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js
index 4838a16847..dbea837116 100644
--- a/js/bootstrap-carousel.js
+++ b/js/bootstrap-carousel.js
@@ -108,6 +108,7 @@
e = $.Event('slide', {
relatedTarget: $next[0]
+ , direction: direction
})
if ($next.hasClass('active')) return