aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/mods.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/js/mods.js')
-rw-r--r--src/app/js/mods.js4
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;
}