Fixed incorrect description in the settings (#1622)

This commit is contained in:
nobody 2024-03-17 10:45:30 +01:00
parent 760c083f29
commit 0e0bd4172e
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,10 @@ optionsAdvanced.init = function (opt) {
negateHtmlFilterList = options.getOptionElement(Setting.NEGATE_HTML_FILTER_LIST);
negateHtmlFilterList.addEventListener('change', options.onOptionChanged);
negateHtmlFilterList.checked = opt[Setting.NEGATE_HTML_FILTER_LIST];
if (opt[Setting.NEGATE_HTML_FILTER_LIST] === false) {
document.getElementById('html-filter-domains-title-include').style.display = 'block';
document.getElementById('html-filter-domains-title-exclude').style.display = 'none';
}
changeBadgeColorMissingResources = options.getOptionElement(Setting.CHANGE_BADGE_COLOR_MISSING_RESOURCES);
changeBadgeColorMissingResources.addEventListener('change', options.onOptionChanged);

View File

@ -28,6 +28,7 @@
<p>Improved</p>
<ul>
<li>Support wildcard TLD in all lists (<a href="https://codeberg.org/nobody/LocalCDN/issues/1622">#1622</a>)</li>
<li>Fixed incorrect description in the settings (<a href="https://codeberg.org/nobody/LocalCDN/issues/1622">#1622</a>)</li>
</ul>
</div>
<div id="generator-section">