2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Dropdowns: Skip .disabled instead of .divider on keydown event

Fixes #15147.
Closes #15520 by merging it.
This commit is contained in:
vsn4ik
2015-01-08 12:03:09 +03:00
committed by Heinrich Fenkart
parent 5debbec59f
commit b395f3526e
2 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
return $this.trigger('click')
}
var desc = ' li:not(.divider):visible a'
var desc = ' li:not(.disabled):visible a'
var $items = $parent.find('[role="menu"]' + desc + ', [role="listbox"]' + desc)
if (!$items.length) return