瀏覽代碼

don't use original CSS test as fallback

Gildas 7 年之前
父節點
當前提交
e88d919201
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {