]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Closing dropdown with ESC correctly sets focus to toggle (#28928)
authorPatrick H. Lauke <redux@splintered.co.uk>
Wed, 19 Jun 2019 09:23:41 +0000 (10:23 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 19 Jun 2019 09:23:41 +0000 (12:23 +0300)
commitf0f75379f661587936fdcf7138fe9805838b7a01
treef9673b36c0229eb7df0b2546b5587df7767b400d
parentceffc3a5fd7af7609150048f0651f025ef19672c
Closing dropdown with ESC correctly sets focus to toggle (#28928)

Just firing the focus event isn't enough ... need to actually call the proper `focus()` method for it to actually do it...
js/src/dropdown.js
js/tests/unit/dropdown.js