1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 23:59:53 +02:00

rebuild and only select visible dropdown items

This commit is contained in:
fat
2012-12-07 17:14:49 -05:00
parent 2526c3fdbe
commit 66b70016d0
5 changed files with 6 additions and 6 deletions

View File

@@ -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