2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+1 -1
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