Browse Source

don't use original CSS test as fallback

Gildas 7 năm trước cách đây
mục cha
commit
e88d919201
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {