Gildas před 7 roky
rodič
revize
5bd9ddd3b1
1 změnil soubory, kde provedl 0 přidání a 2 odebrání
  1. 0 2
      lib/single-file/css-fonts-minifier.js

+ 0 - 2
lib/single-file/css-fonts-minifier.js

@@ -294,7 +294,6 @@ this.fontsMinifier = this.fontsMinifier || (() => {
 						const fontFamily = removeQuotes(rule.style.getPropertyValue("font-family"));
 						if (fontFamily && !unusedFonts.includes(fontFamily)) {
 							let optionalTest;
-
 							const optionalUsedFonts = filteredUsedFonts && filteredUsedFonts.get(fontFamily);
 							if (optionalUsedFonts && optionalUsedFonts.length) {
 								const fontStyle = rule.style.getPropertyValue("font-style") || "normal";
@@ -306,7 +305,6 @@ this.fontsMinifier = this.fontsMinifier || (() => {
 							} else {
 								optionalTest = true;
 							}
-
 							if (testUnicodeRange(docContent, rule.style.getPropertyValue("unicode-range")) && optionalTest) {
 								stylesheetContent += rule.cssText;
 							}