Преглед изворни кода

set default value to ""

Former-commit-id: cb02dbcc8d637c049f9670932658021d51bb3b17
Gildas пре 5 година
родитељ
комит
627621fb89
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/single-file/single-file-helper.js

+ 1 - 1
lib/single-file/single-file-helper.js

@@ -312,7 +312,7 @@ this.singlefile.lib.helper = this.singlefile.lib.helper || (() => {
 		}
 	}
 
-	function normalizeFontFamily(fontFamilyName) {
+	function normalizeFontFamily(fontFamilyName = "") {
 		return removeQuotes(singlefile.lib.vendor.cssUnescape.process(fontFamilyName.trim())).toLowerCase();
 	}