1
0
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:
fat
2012-12-21 17:31:54 -08:00
parent e194c3e4f4
commit 82a758344d
2 changed files with 13 additions and 0 deletions

View File

@@ -108,6 +108,7 @@
e = $.Event('slide', {
relatedTarget: $next[0]
, direction: direction
})
if ($next.hasClass('active')) return