Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-10-18 10:06:58 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-10-18 10:06:58 +0400
commit0b9d4e78ad5e5ad2f6f34735f0ac73463e1d1af9 (patch)
tree315c0473dccbc3db2df3b4d85f3b27af3e2ec050 /js/bootstrap-dropdown.js
parent7f3b94c45315475a129ace3c22e122808c2dbcaa (diff)
parentd6ac499ca85606d8ce0294d2be3526700605c368 (diff)
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
Diffstat (limited to 'js/bootstrap-dropdown.js')
-rw-r--r--js/bootstrap-dropdown.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js
index f50aa64d62..4f99e04ffa 100644
--- a/js/bootstrap-dropdown.js
+++ b/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) {