diff options
author | 0neGal <mail@0negal.com> | 2023-03-09 18:20:21 +0100 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2023-03-09 18:20:21 +0100 |
commit | cfd2074321ed8aafaf906f88a2199db0d139f8d2 (patch) | |
tree | 14ebb95e95d81b6caf698d224a3d490f4457b96b /src/app | |
parent | 3e6976207dd980fc58d7a4e7e0d5c69060c062e1 (diff) | |
download | Viper-cfd2074321ed8aafaf906f88a2199db0d139f8d2.tar.gz Viper-cfd2074321ed8aafaf906f88a2199db0d139f8d2.zip |
fixed not having to confirm removing core mods
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/js/mods.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/js/mods.js b/src/app/js/mods.js index 4ea3428..d4e8043 100644 --- a/src/app/js/mods.js +++ b/src/app/js/mods.js @@ -135,7 +135,7 @@ mods.load = (mods_obj) => { } mods.remove = (mod) => { - if (mod.match(/^northstar\./)) { + if (mod.toLowerCase().match(/^northstar\./)) { if (! confirm(lang("gui.mods.required.confirm"))) { return; } @@ -149,7 +149,7 @@ mods.remove = (mod) => { } mods.toggle = (mod) => { - if (mod.match(/^Northstar\./)) { + if (mod.toLowerCase().match(/^northstar\./)) { if (! confirm(lang("gui.mods.required.confirm"))) { return; } |