GUI search: minor code refactoring

This commit is contained in:
bergware
2023-11-13 04:45:55 +01:00
parent e5f6d798b6
commit 2ad6b49479

View File

@@ -77,7 +77,7 @@ function setupGUIsearch() {
}
});
}
if (browserName !== "Chrome" && browserName !== "Edge") {
if (browserName != "Chrome" && browserName != "Edge") {
var hashTag = window.location.hash.substr(1).replace("%20"," ").replace("%2d","-");
if (hashTag.length) {
$("body").mark(hashTag,{"accuracy": {"value": "exactly","limiters": [".",":","?"]},"separateWordSearch": false});