Skip to content
Snippets Groups Projects
Commit 2e693816 authored by Alex Shpak's avatar Alex Shpak
Browse files

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

parent c47eb738
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,10 @@
* @param {Event} event
*/
function focusSearchFieldOnKeyPress(event) {
if (event.target.value !== undefined) {
return;
}
if (input === document.activeElement) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment