]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Dropdown: Simplify dataKeyApiHandler (#35870)
authorGeoSot <geo.sotis@gmail.com>
Tue, 1 Mar 2022 13:53:07 +0000 (15:53 +0200)
committerGitHub <noreply@github.com>
Tue, 1 Mar 2022 13:53:07 +0000 (15:53 +0200)
commitbb7664db0aea2dddbc637992d2d0e78632dc2e68
treee5576f42f5dac9b973f4649a225ddebf315d6145
parent5051bbb82df37da51a4f833dc6de692f9e5df701
Dropdown: Simplify dataKeyApiHandler (#35870)

* Dropdown.js: Remove duplicated check for `Not Shown` instance

* Dropdown.js: Rearrange `dataApiKeydownHandler` checks

* Dropdown: do some fixup inside `dataApiKeydownHandler`

* Update dropdown.js

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/dropdown.js