From e6f847b7d30846e48dddff5d377d56d7958bb720 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Tue, 25 Aug 2026 19:27:37 +0200 Subject: [PATCH] hero.js: don't shadow the global CSS object --- hero.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hero.js b/hero.js index 4a18d99..0165d1f 100644 --- a/hero.js +++ b/hero.js @@ -25,7 +25,7 @@ const CYCLE_MS = 28000; const SEED = 7; const COUNT = 47; -const CSS = ` +const STYLE_TEXT = ` .redoal-paths { position: absolute; inset: 0; @@ -58,7 +58,7 @@ function ensureStyle() { if (document.getElementById(STYLE_ID)) return; const style = document.createElement('style'); style.id = STYLE_ID; - style.textContent = CSS; + style.textContent = STYLE_TEXT; document.head.appendChild(style); }