diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/js/bootstrap-dropdown.js | 7 | ||||
| -rw-r--r-- | docs/assets/js/bootstrap.js | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/docs/assets/js/bootstrap-dropdown.js b/docs/assets/js/bootstrap-dropdown.js index f50aa64d6..4f99e04ff 100644 --- a/docs/assets/js/bootstrap-dropdown.js +++ b/docs/assets/js/bootstrap-dropdown.js @@ -99,9 +99,10 @@ } - function clearMenus() { - getParent($(toggle)) - .removeClass('open') + function clearMenus() { + $(toggle).each(function () { + getParent($(this)).removeClass("open") + }) } function getParent($this) { diff --git a/docs/assets/js/bootstrap.js b/docs/assets/js/bootstrap.js index 43abb5cc3..be50d9f47 100644 --- a/docs/assets/js/bootstrap.js +++ b/docs/assets/js/bootstrap.js @@ -668,9 +668,10 @@ } - function clearMenus() { - getParent($(toggle)) - .removeClass('open') + function clearMenus() { + $(toggle).each(function () { + getParent($(this)).removeClass("open") + }) } function getParent($this) { |
