1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 10:34:07 +02:00

Fix skip element disabled via attribute when using keyboard navigation

This commit is contained in:
vsn4ik
2018-01-23 02:03:00 +03:00
committed by Johann-S
parent 2cd700313d
commit 68db42c9f8
2 changed files with 36 additions and 34 deletions

View File

@@ -57,7 +57,7 @@ const Dropdown = (($) => {
FORM_CHILD : '.dropdown form',
MENU : '.dropdown-menu',
NAVBAR_NAV : '.navbar-nav',
VISIBLE_ITEMS : '.dropdown-menu .dropdown-item:not(.disabled)'
VISIBLE_ITEMS : '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'
}
const AttachmentMap = {