diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-20 03:09:08 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-20 03:09:08 +0400 |
commit | 05e0d5f3d931e84f3bc86a5c1153e710237cb53a (patch) | |
tree | 2b476c0b92dd49c305144574a11a6758ed4597ab /js/bootstrap-scrollspy.js | |
parent | 67f199678c6f764f2812260f42b553b22ec740f8 (diff) |
fire active event on active
Diffstat (limited to 'js/bootstrap-scrollspy.js')
-rw-r--r-- | js/bootstrap-scrollspy.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js index b7ff907f71..dea6e95f03 100644 --- a/js/bootstrap-scrollspy.js +++ b/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('active') } } |