mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 23:54:08 +02:00
Fix for #4550
Also fixes dropdowns hiding behavior for case when two or more dropdowns with [data-toggle=dropdown] exist on the page
This commit is contained in:
5
js/bootstrap-dropdown.js
vendored
5
js/bootstrap-dropdown.js
vendored
@@ -100,8 +100,9 @@
|
||||
}
|
||||
|
||||
function clearMenus() {
|
||||
getParent($(toggle))
|
||||
.removeClass('open')
|
||||
$(toggle).each(function () {
|
||||
getParent($(this)).removeClass('open')
|
||||
})
|
||||
}
|
||||
|
||||
function getParent($this) {
|
||||
|
Reference in New Issue
Block a user