2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

fire active event on active

This commit is contained in:
Jacob Thornton
2012-03-19 16:09:08 -07:00
parent 67f199678c
commit 05e0d5f3d9
+3 -1
View File
@@ -92,8 +92,10 @@
.addClass('active')
if ( active.parent('.dropdown-menu') ) {
active.closest('li.dropdown').addClass('active')
active = active.closest('li.dropdown').addClass('active')
}
active.trigger('active')
}
}