aboutsummaryrefslogtreecommitdiff
path: root/frontend/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/main.ts')
-rw-r--r--frontend/main.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/main.ts b/frontend/main.ts
index 85de64e..e14ccac 100644
--- a/frontend/main.ts
+++ b/frontend/main.ts
@@ -20,7 +20,7 @@ function process_url() {
bangs.then(bangs => {
console.log("bop");
- if (!bangs[engine]) {
+ if (!bangs[engine.toLowerCase()]) {
status("error", "Engine does not exist")
window.location.hash = "#"
}