mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-26 05:19:15 +02:00
add activate to scrollspy docs
This commit is contained in:
4
docs/assets/js/bootstrap-scrollspy.js
vendored
4
docs/assets/js/bootstrap-scrollspy.js
vendored
@@ -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')
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user