Bläddra i källkod

uxe cssRules instead of rules

Gildas 7 år sedan
förälder
incheckning
ffb74f6a99
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -293,7 +293,7 @@ const SingleFileCore = (() => {
 			doc.querySelectorAll("style").forEach(style => {
 				const cssRules = [];
 				if (style.sheet) {
-					processRules(style.sheet.rules, cssRules);
+					processRules(style.sheet.cssRules, cssRules);
 					style.innerText = cssRules.join("");
 				}
 			});