From 9ea1e5b7655e113b519542d1ac1cd914eafcf370 Mon Sep 17 00:00:00 2001 From: nutty Date: Mon, 10 Aug 2026 20:10:17 +1000 Subject: [PATCH] You motherfucker, if you don't work this time, I'm literally going to kms --- horizontal-chat/script.js | 3 ++- multichat-overlay/script.js | 3 ++- multistream-alerts/script.js | 3 ++- now-playing/script.js | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/horizontal-chat/script.js b/horizontal-chat/script.js index 51ad172..e7446eb 100644 --- a/horizontal-chat/script.js +++ b/horizontal-chat/script.js @@ -97,7 +97,8 @@ let youtubeUsername = urlParams.get("youtubeUsername") || ""; //////////////// // Set fonts for the widget -document.body.style.fontFamily = `'${font}'`; +if (font) + document.body.style.fontFamily = `'${font}'`; document.body.style.fontSize = `${fontSize}px`; // Set the background color diff --git a/multichat-overlay/script.js b/multichat-overlay/script.js index 7809d23..41776d2 100644 --- a/multichat-overlay/script.js +++ b/multichat-overlay/script.js @@ -104,7 +104,8 @@ let youtubeUsername = urlParams.get("youtubeUsername") || ""; //////////////// // Set fonts for the widget -document.body.style.fontFamily = `'${font}'`; +if (font) + document.body.style.fontFamily = `'${font}'`; document.body.style.fontSize = `${fontSize}px`; // Set line spacing diff --git a/multistream-alerts/script.js b/multistream-alerts/script.js index d997e95..412dcef 100644 --- a/multistream-alerts/script.js +++ b/multistream-alerts/script.js @@ -129,7 +129,8 @@ if (!showAvatar) { } // Set fonts for the widget -document.body.style.fontFamily = `'${font}'`; +if (font) + document.body.style.fontFamily = `'${font}'`; document.body.style.fontSize = `${fontSize}px`; document.body.style.color = fontColor; diff --git a/now-playing/script.js b/now-playing/script.js index b694884..64aed80 100644 --- a/now-playing/script.js +++ b/now-playing/script.js @@ -67,7 +67,8 @@ let hideTimeout = null; //////////////// // Set fonts for the widget -document.body.style.fontFamily = `'${font}'`; +if (font) + document.body.style.fontFamily = `'${font}'`; document.body.style.fontSize = `${fontSize}px`; // Set album art visibility