Gildas пре 7 година
родитељ
комит
e51f87393b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/single-file/doc-helper.js

+ 1 - 1
lib/single-file/doc-helper.js

@@ -83,7 +83,7 @@ this.docHelper = this.docHelper || (() => {
 							element.setAttribute(markerRemovedContent, "");
 						}
 					});
-					styles = new Map(Array.from(styles).filter(([element, style]) => element.getAttribute(markerRemovedContent) != ""));
+					styles = new Map(Array.from(styles).filter(([element]) => element.getAttribute(markerRemovedContent) != ""));
 				}
 				if (options.removeAlternativeFonts) {
 					usedFonts = getUsedFonts(styles);