Explorar el Código

don't use original CSS test as fallback

Gildas hace 7 años
padre
commit
e88d919201
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/single-file/css-rules-minifier.js

+ 1 - 1
lib/single-file/css-rules-minifier.js

@@ -119,7 +119,7 @@ this.cssMinifier = this.cssMinifier || (() => {
 				}
 			}
 		}
-		return (selectorText || cssRule.selectorText) + "{" + (styleCssText || cssRule.style.cssText) + "}";
+		return (selectorText || cssRule.selectorText) + "{" + styleCssText + "}";
 	}
 
 	function processStyleAttribute(cssStyle, mediaAllInfo) {