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
path: root/js
diff options
context:
space:
mode:
authorfat <jacobthornton@gmail.com>2012-12-08 02:14:49 +0400
committerfat <jacobthornton@gmail.com>2012-12-08 02:14:49 +0400
commit66b70016d0f083098c32ad051173e6f52a6b2084 (patch)
treee1db0c76b4f685d03b2c3876d543fc5266fd5a59 /js
parent2526c3fdbeb67732400b5cd5fce8d64de1eeee1a (diff)
rebuild and only select visible dropdown items
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-dropdown.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js
index 61f3b941a2..726fbac1f3 100644
--- a/js/bootstrap-dropdown.js
+++ b/js/bootstrap-dropdown.js
@@ -82,7 +82,7 @@
if (!isActive || (isActive && e.keyCode == 27)) return $this.click()
- $items = $('[role=menu] li:not(.divider) a', $parent)
+ $items = $('[role=menu] li:not(.divider):visible a', $parent)
if (!$items.length) return