summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/Content/js
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-11-08 13:44:49 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-11-08 13:44:49 -0500
commit0aac0717bf1c46d798ed007d3c7c5c050e07f354 (patch)
tree7543099b0ad1a0fb932c69718cfd4d06b8729850 /src/SMAPI.Web/wwwroot/Content/js
parent8b09a2776d9c0faf96fa90c923952033ce659477 (diff)
downloadSMAPI-0aac0717bf1c46d798ed007d3c7c5c050e07f354.tar.gz
SMAPI-0aac0717bf1c46d798ed007d3c7c5c050e07f354.tar.bz2
SMAPI-0aac0717bf1c46d798ed007d3c7c5c050e07f354.zip
add CurseForge to mod metadata (#605)
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/js')
-rw-r--r--src/SMAPI.Web/wwwroot/Content/js/mods.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/mods.js b/src/SMAPI.Web/wwwroot/Content/js/mods.js
index 130f60be..0394ac4f 100644
--- a/src/SMAPI.Web/wwwroot/Content/js/mods.js
+++ b/src/SMAPI.Web/wwwroot/Content/js/mods.js
@@ -44,6 +44,7 @@ smapi.modList = function (mods, enableBeta) {
download: {
value: {
chucklefish: { value: true, label: "Chucklefish" },
+ curseforge: { value: true, label: "CurseForge" },
moddrop: { value: true, label: "ModDrop" },
nexus: { value: true, label: "Nexus" },
custom: { value: true }
@@ -180,6 +181,8 @@ smapi.modList = function (mods, enableBeta) {
if (!filters.download.value.chucklefish.value)
ignoreSites.push("Chucklefish");
+ if (!filters.download.value.curseforge.value)
+ ignoreSites.push("CurseForge");
if (!filters.download.value.moddrop.value)
ignoreSites.push("ModDrop");
if (!filters.download.value.nexus.value)