aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorbilly gates <[email protected]>2012-10-17 22:50:52 -0700
committerbilly gates <[email protected]>2012-10-17 22:50:52 -0700
commit7426ced0fb288a9e86f18da1849ad74f652d219a (patch)
tree9d7ef8d987edebc4a8ad30a12326fb311d51bb2a /js
parentc52368d3c5984b28e6a71e5e1240afdd788fc2e6 (diff)
parent0944e036ae778f7efc9eeafcc33e58600e110fb0 (diff)
downloadbootstrap-7426ced0fb288a9e86f18da1849ad74f652d219a.tar.xz
bootstrap-7426ced0fb288a9e86f18da1849ad74f652d219a.zip
Merge pull request #5323 from artiz/master
Please check my fix for #4550
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-dropdown.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js
index 42370dfbe..ca90bd014 100644
--- a/js/bootstrap-dropdown.js
+++ b/js/bootstrap-dropdown.js
@@ -100,8 +100,9 @@
}
function clearMenus() {
- getParent($(toggle))
- .removeClass('open')
+ $(toggle).each(function () {
+ getParent($(this)).removeClass('open')
+ })
}
function getParent($this) {