diff options
| author | Jacob Thornton <[email protected]> | 2012-03-19 20:29:22 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-03-19 20:29:22 -0700 |
| commit | 07d23b927ee4eefdee51d4fcbffb3dece33be698 (patch) | |
| tree | 814640856025b0b1452eefb243b8c13d6ca42db2 /docs/assets/js | |
| parent | 384a082e8d220115d0eb94b0c57d837b625ad2ab (diff) | |
| download | bootstrap-07d23b927ee4eefdee51d4fcbffb3dece33be698.tar.xz bootstrap-07d23b927ee4eefdee51d4fcbffb3dece33be698.zip | |
add activate to scrollspy docs
Diffstat (limited to 'docs/assets/js')
| -rw-r--r-- | docs/assets/js/bootstrap-scrollspy.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-scrollspy.js b/docs/assets/js/bootstrap-scrollspy.js index b7ff907f7..e0c74539e 100644 --- a/docs/assets/js/bootstrap-scrollspy.js +++ b/docs/assets/js/bootstrap-scrollspy.js @@ -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') } } |
