Selaa lähdekoodia

don't use original CSS test as fallback

Gildas 7 vuotta sitten
vanhempi
sitoutus
e88d919201
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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) {