diff options
author | fat <jacobthornton@gmail.com> | 2012-12-08 02:14:49 +0400 |
---|---|---|
committer | fat <jacobthornton@gmail.com> | 2012-12-08 02:14:49 +0400 |
commit | 66b70016d0f083098c32ad051173e6f52a6b2084 (patch) | |
tree | e1db0c76b4f685d03b2c3876d543fc5266fd5a59 /js | |
parent | 2526c3fdbeb67732400b5cd5fce8d64de1eeee1a (diff) |
rebuild and only select visible dropdown items
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-dropdown.js | 2 |
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 |