Explorar o código

replaced innerText with textContent

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
53c6aebc48
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/single-file/single-file-core.js

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

@@ -358,7 +358,7 @@ const SingleFileCore = (() => {
 				const cssRules = [];
 				if (style.sheet) {
 					processRules(style.sheet.cssRules, cssRules);
-					style.innerText = cssRules.join("");
+					style.textContent = cssRules.join("");
 				}
 			});