mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
add direction prop to carousel slide event
This commit is contained in:
1
js/bootstrap-carousel.js
vendored
1
js/bootstrap-carousel.js
vendored
@@ -108,6 +108,7 @@
|
||||
|
||||
e = $.Event('slide', {
|
||||
relatedTarget: $next[0]
|
||||
, direction: direction
|
||||
})
|
||||
|
||||
if ($next.hasClass('active')) return
|
||||
|
Reference in New Issue
Block a user