Browse Source

less aggressive stye attribute optimization

Gildas 7 years ago
parent
commit
21449744e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/single-file/css-rules-minifier.js

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

@@ -122,8 +122,8 @@ this.cssMinifier = this.cssMinifier || (() => {
 					styleCssText += style.name + ":" + cssStyle.getPropertyValue(style.name) + (priority && ("!" + priority));
 				}
 			}
-			return (styleCssText || cssStyle.cssText);
 		}
+		return (styleCssText || cssStyle.cssText);
 	}
 
 	function testIgnoredSelector(selectorText) {