#385: Do not focus search field if current element has value

This commit is contained in:
Alex Shpak 2021-11-19 14:24:28 +01:00
parent c47eb7388a
commit 2e693816ae

View file

@ -30,6 +30,10 @@
* @param {Event} event
*/
function focusSearchFieldOnKeyPress(event) {
if (event.target.value !== undefined) {
return;
}
if (input === document.activeElement) {
return;
}