2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03:00

add activate to scrollspy docs

This commit is contained in:
Jacob Thornton
2012-03-19 20:29:22 -07:00
parent 384a082e8d
commit 07d23b927e
4 changed files with 33 additions and 1 deletions
Binary file not shown.
+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('activate')
}
}