diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-25 23:33:07 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-02-25 23:33:07 -0500 |
commit | c984d5ad51c80a9ede1613c2bbbf51279966dd8b (patch) | |
tree | f5f4cf6391192aee1f50d841631dac329117f200 /src/SMAPI.Web/wwwroot | |
parent | 212e85489a456acca6889faff5da835cbb707080 (diff) | |
download | SMAPI-c984d5ad51c80a9ede1613c2bbbf51279966dd8b.tar.gz SMAPI-c984d5ad51c80a9ede1613c2bbbf51279966dd8b.tar.bz2 SMAPI-c984d5ad51c80a9ede1613c2bbbf51279966dd8b.zip |
fix log filtering some mods incorrectly
Diffstat (limited to 'src/SMAPI.Web/wwwroot')
-rw-r--r-- | src/SMAPI.Web/wwwroot/Content/js/log-parser.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js index 87a70391..38a75a80 100644 --- a/src/SMAPI.Web/wwwroot/Content/js/log-parser.js +++ b/src/SMAPI.Web/wwwroot/Content/js/log-parser.js @@ -62,6 +62,7 @@ smapi.logParser = function (data, sectionUrl) { updateModFilters(); }, + showAllMods: function () { for (var key in this.showMods) { if (this.showMods.hasOwnProperty(key)) { @@ -70,6 +71,7 @@ smapi.logParser = function (data, sectionUrl) { } updateModFilters(); }, + hideAllMods: function () { for (var key in this.showMods) { if (this.showMods.hasOwnProperty(key)) { @@ -77,6 +79,10 @@ smapi.logParser = function (data, sectionUrl) { } } updateModFilters(); + }, + + filtersAllow: function(modId, level) { + return this.showMods[modId] !== false && this.showLevels[level] !== false; } } }); |