summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork <kori@tulibu-dibu.com>2021-09-03 15:48:02 +0300
committerGitHub <noreply@github.com>2021-09-03 15:48:02 +0300
commit190954b55012a5a933a8c0a8d869d34406db385d (patch)
treedd0a733ad466354ca56afd6e638a2df98a09c2dc
parent41c22ed218d6f97f176ec3ef52c89ed2d17ad965 (diff)
$sengine was not actually used
Had declared search engine in variable, but the variable wasn't actually used.
-rwxr-xr-xassets/js/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/search.js b/assets/js/search.js
index 3217735..12736b2 100755
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -120,7 +120,7 @@ function search(text) {
else
window.location = "https://" + text;
} else {
- window.location = "https://www.google.com/search?q=" + text;
+ window.location = sengine + text;
}
}