From e795aec55d607ad2f3d4f5033173ce80a909aee5 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 29 May 2025 09:28:23 +0200 Subject: [PATCH] f --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 368457a..1a50519 100644 --- a/index.html +++ b/index.html @@ -30,7 +30,9 @@ // Log the banner data for debugging console.log('Banner data:', JSON.stringify(banner, null, 2)); - if (!banner.IsVisible) { + // Check if banner should be visible + const isVisible = banner.Style?.IsVisible ?? banner.IsVisible ?? true; + if (!isVisible) { console.log('Banner is not visible'); return; }