mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 00:25:15 +01:00
Label and handling "Block Google Fonts" toggle (#624)
This commit is contained in:
parent
9338ec965c
commit
2f6aef3b16
@ -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>
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user