From 7f9c26bca0d62fa84185decf1f4b91ec41bdb30c Mon Sep 17 00:00:00 2001 From: Serraniel Date: Sun, 20 Sep 2020 15:29:13 +0200 Subject: [PATCH] #52 Remove href attribute instead of clearing it --- src/javascript/enhancements/quickSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/javascript/enhancements/quickSearch.js b/src/javascript/enhancements/quickSearch.js index 197d206..38185ff 100644 --- a/src/javascript/enhancements/quickSearch.js +++ b/src/javascript/enhancements/quickSearch.js @@ -57,7 +57,7 @@ function handleQuickSearch(event) { linkElement.click(); // clean up afterwards - linkElement.href = ''; + linkElement.removeAttribute('href'); quickSearchElement.value = ''; } }