summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-10-20 17:26:26 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-10-20 17:26:26 -0400
commit39bacfa8688232e11850cdf2c0b0b4c953be1d76 (patch)
tree9bf5607db756303c8cb3739e0c517a0278a89c03 /src/SMAPI.Web/wwwroot
parent2b5db3ce7e37632422475239faa063c5bcc09064 (diff)
downloadSMAPI-39bacfa8688232e11850cdf2c0b0b4c953be1d76.tar.gz
SMAPI-39bacfa8688232e11850cdf2c0b0b4c953be1d76.tar.bz2
SMAPI-39bacfa8688232e11850cdf2c0b0b4c953be1d76.zip
hide technical columns by default (#597)
Diffstat (limited to 'src/SMAPI.Web/wwwroot')
-rw-r--r--src/SMAPI.Web/wwwroot/Content/css/mods.css4
-rw-r--r--src/SMAPI.Web/wwwroot/Content/js/mods.js6
2 files changed, 9 insertions, 1 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/css/mods.css b/src/SMAPI.Web/wwwroot/Content/css/mods.css
index d250440f..fee01450 100644
--- a/src/SMAPI.Web/wwwroot/Content/css/mods.css
+++ b/src/SMAPI.Web/wwwroot/Content/css/mods.css
@@ -42,6 +42,10 @@ table.wikitable > caption {
font-weight:bold
}
+#show-fields-option {
+ opacity: 0.7;
+}
+
#mod-list .mod-page-links,
#mod-list .mod-alt-authors,
#mod-list .mod-alt-names,
diff --git a/src/SMAPI.Web/wwwroot/Content/js/mods.js b/src/SMAPI.Web/wwwroot/Content/js/mods.js
index 1b15b622..16c7cd5e 100644
--- a/src/SMAPI.Web/wwwroot/Content/js/mods.js
+++ b/src/SMAPI.Web/wwwroot/Content/js/mods.js
@@ -4,7 +4,11 @@ var smapi = smapi || {};
var app;
smapi.modList = function (mods) {
// init data
- var data = { mods: mods, search: "" };
+ var data = {
+ mods: mods,
+ showAllFields: false,
+ search: ""
+ };
for (var i = 0; i < data.mods.length; i++) {
var mod = mods[i];