From e9b5c35bccb8fb7876c28fbc8f171af3b642df66 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Thu, 29 May 2025 10:55:03 +0200 Subject: [PATCH] test --- index.html | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/index.html b/index.html index 1f03367..d84f58b 100644 --- a/index.html +++ b/index.html @@ -227,27 +227,7 @@ } } - // Add text if it exists - if (bannerText) { - const textStyle = ` - margin: 0; - padding: 10px; - line-height: 1.6; - color: ${textColor}; - text-align: ${textAlign}; - font-size: ${fontSize}; - `; - - // Wrap text in link if URL is provided - const textElement = bannerLink - ? `${bannerText}` - : bannerText; - - content += ` - `; - } + // Text is already added in the previous conditions // Set the content and make banner visible bannerContent.innerHTML = content;