Explorar o código

remove unused variable

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
e51f87393b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);