#52 Remove href attribute instead of clearing it

This commit is contained in:
Serraniel 2020-09-20 15:29:13 +02:00
parent b064b79f97
commit 7f9c26bca0
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

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