no-bug: Make checks if boost css is undefined (gh-13451)

This commit is contained in:
mr. m
2026-04-28 00:49:18 +02:00
committed by GitHub
parent 92dfe0babd
commit bb14e5d66f

View File

@@ -88,7 +88,7 @@ export class nsZenBoostStyles {
style += `}\n`;
}
if (boostData.customCSS.trim() != "") {
if ((boostData.customCSS || "").trim() != "") {
style += `/* USER CSS */\n`;
style += `${boostData.customCSS || ""}\n`;
}