Merge pull request #53 from Serraniel/bugfix/#52-clicking-quick-search-navigates-to-home

#52 Remove href attribute instead of clearing it
This commit is contained in:
Daniel 2020-09-21 21:14:31 +02:00 committed by GitHub
commit 25075d7d2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ function handleQuickSearch(event) {
linkElement.click(); linkElement.click();
// clean up afterwards // clean up afterwards
linkElement.href = ''; linkElement.removeAttribute('href');
quickSearchElement.value = ''; quickSearchElement.value = '';
} }
} }