Fixed: Default values after startup (#343, #428)

This commit is contained in:
nobody 2021-04-29 06:53:06 +02:00
parent 23650a1eb3
commit cc974e75d7
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 3 additions and 2 deletions

View File

@ -158,9 +158,9 @@ interceptor.relatedSettings.push(Setting.ALLOWED_DOMAINS_GOOGLE_FONTS);
storageManager.type.get(interceptor.relatedSettings, function (items) {
storageManager.amountInjected = items.amountInjected || 0;
interceptor.xhrTestDomain = items.xhrTestDomain || Address.LOCALCDN;
interceptor.blockMissing = items.blockMissing || false;
interceptor.blockGoogleFonts = items.blockGoogleFonts || true;
interceptor.allowedDomainsGoogleFonts = items.allowedDomainsGoogleFonts || {};
interceptor.blockMissing = items.blockMissing === undefined ? false : items.blockMissing;
interceptor.blockGoogleFonts = items.blockGoogleFonts === undefined ? true : items.blockGoogleFonts;
});

View File

@ -27,6 +27,7 @@
<ul>
<li>Added: Snowplow v2.17.3 (<a href="https://codeberg.org/nobody/LocalCDN/issues/419">#419</a>)</li>
<li>Added: Bowser v1.9.4 and v2.11.0 (<a href="https://codeberg.org/nobody/LocalCDN/issues/427">#427</a>)</li>
<li>Fixed: Default values after startup (<a href="https://codeberg.org/nobody/LocalCDN/issues/343">#343</a>, <a href="https://codeberg.org/nobody/LocalCDN/issues/428">#428</a>)</li>
</ul>
<div id="generator-section">
<div class="topic-label">