mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Fixed bug in dropdown toggle where menu would only clear on the first drop down
This commit is contained in:
Vendored
+4
-3
@@ -674,9 +674,10 @@
|
||||
|
||||
}
|
||||
|
||||
function clearMenus() {
|
||||
getParent($(toggle))
|
||||
.removeClass('open')
|
||||
function clearMenus() {
|
||||
$(toggle).each(function () {
|
||||
getParent($(this)).removeClass("open")
|
||||
})
|
||||
}
|
||||
|
||||
function getParent($this) {
|
||||
|
||||
Reference in New Issue
Block a user