1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Typo fixed (#815)

This commit is contained in:
nobody
2021-12-18 09:49:24 +01:00
parent 6271e3e188
commit c6c3f0bb88
2 changed files with 4 additions and 4 deletions

View File

@ -51,13 +51,13 @@ requestAnalyzer.isValidCandidate = function (requestDetails, tabDetails) {
} }
// Font Awesome injections in Chromium deactivated (https://gitlab.com/nobody42/localcdn/-/issues/67) // Font Awesome injections in Chromium deactivated (https://gitlab.com/nobody42/localcdn/-/issues/67)
if (BrowserType.CHROMIUM) { if (!BrowserType.FIREFOX) {
if (requestDetails.url.includes('font-awesome') || requestDetails.url.includes('fontawesome')) { if (requestDetails.url.includes('font-awesome') || requestDetails.url.includes('fontawesome')) {
console.warn(`${LogString.PREFIX} ${LogString.FONT_AWESOME}`); console.warn(`${LogString.PREFIX} ${LogString.FONT_AWESOME}`);
log.append(tabDetails.url, requestDetails.url, LogString.FONT_AWESOME, true); log.append(tabDetails.url, requestDetails.url, LogString.FONT_AWESOME, true);
return false; return false;
} }
if (requestAnalyzer._isGoogleMaterialIcons(requestedDomain, requestDetails.url)) { if (requestAnalyzer.isGoogleMaterialIcons(requestedDomain, requestDetails.url)) {
// also valid for Google Material icons // also valid for Google Material icons
console.warn(`${LogString.PREFIX} ${LogString.GOOGLE_MATERIAL_ICONS}`); console.warn(`${LogString.PREFIX} ${LogString.GOOGLE_MATERIAL_ICONS}`);
log.append(tabDetails.url, requestDetails.url, LogString.GOOGLE_MATERIAL_ICONS, true); log.append(tabDetails.url, requestDetails.url, LogString.GOOGLE_MATERIAL_ICONS, true);

View File

@ -25,9 +25,9 @@
<h2>New in LocalCDN:</h2> <h2>New in LocalCDN:</h2>
</div> </div>
<div class="release-notes-area"> <div class="release-notes-area">
<p></p> <p>Fixed</p>
<ul> <ul>
<li></li> <li>Typo in the name of a function (<a href="https://codeberg.org/nobody/LocalCDN/issues/815">#815</a>)</li>
</ul> </ul>
</div> </div>
<div id="generator-section"> <div id="generator-section">