mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
@@ -215,8 +215,6 @@ function setFilteredUIData() {
|
||||
}
|
||||
function restoreFilterStates() {
|
||||
if (loot.settings.filters) {
|
||||
|
||||
//document.getElementById('contentFilter').value = loot.settings.filters.content;
|
||||
document.getElementById('hideMessagelessPlugins').checked = loot.settings.filters.hideMessagelessPlugins;
|
||||
document.getElementById('hideInactivePlugins').checked = loot.settings.filters.hideInactivePlugins;
|
||||
document.getElementById('hideNotes').checked = loot.settings.filters.hideNotes;
|
||||
@@ -225,7 +223,11 @@ function restoreFilterStates() {
|
||||
document.getElementById('hideVersionNumbers').checked = loot.settings.filters.hideVersionNumbers;
|
||||
document.getElementById('hideCRCs').checked = loot.settings.filters.hideCRCs;
|
||||
document.getElementById('hideBashTags').checked = loot.settings.filters.hideBashTags;
|
||||
}
|
||||
}
|
||||
|
||||
function applyEnabledFilters() {
|
||||
if (loot.settings.filters) {
|
||||
if (loot.settings.filters.hideMessagelessPlugins
|
||||
|| loot.settings.filters.hideInactivePlugins
|
||||
|| loot.settings.filters.hideNotes
|
||||
|
||||
@@ -162,6 +162,7 @@ function initVars() {
|
||||
loot.game.plugins = game.plugins;
|
||||
document.getElementById('cardsNav').data = loot.game.plugins;
|
||||
document.getElementById('main').lastElementChild.data = loot.game.plugins;
|
||||
applyEnabledFilters();
|
||||
|
||||
setTimeout(function() {
|
||||
document.getElementById('cardsNav').updateSize();
|
||||
|
||||
Reference in New Issue
Block a user