Label and handling "Block Google Fonts" toggle (#624)

This commit is contained in:
nobody 2021-08-15 18:19:07 +02:00
parent 9338ec965c
commit 2f6aef3b16
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
3 changed files with 7 additions and 3 deletions

View File

@ -55,7 +55,7 @@
</label>
</div>
<div class="label-domain">
<span>Google Fonts</span>
<span data-i18n-content="blockGoogleFontsTitle">Block Google Fonts</span>
</div>
</div>
</div>

View File

@ -138,10 +138,10 @@ popup._renderDomainAllowlistPanel = function () {
googleFontsToggleElement.disabled = false;
if (popup._domainGoogleFonts) {
googleFontsToggleElement.checked = true;
googleFontsToggleElement.checked = false;
googleFontsToggleElement.addEventListener('click', popup._disableGoogleFonts);
} else {
googleFontsToggleElement.checked = false;
googleFontsToggleElement.checked = true;
googleFontsToggleElement.addEventListener('click', popup._enableGoogleFonts);
}

View File

@ -29,6 +29,10 @@
<ul>
<li>noUiSlider v15.3.0 -> v15.4.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/625">#625</a>)</li>
</ul>
<p>Improved</p>
<ul>
<li>Label and handling "Block Google Fonts" toggle (<a href="https://codeberg.org/nobody/LocalCDN/issues/624">#624</a>)</li>
</ul>
<p>Fixed</p>
<ul>
<li>Missing "tabs" permission for Firefox ESR v78 (<a href="https://codeberg.org/nobody/LocalCDN/issues/612">#612</a>)</li>