From 70a2ee5826a3d1f2701ddcd863a269f8f5f2570a Mon Sep 17 00:00:00 2001 From: marsalva Date: Tue, 4 Aug 2026 06:17:35 +0000 Subject: [PATCH] Actualizar index.html --- index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 43d959f..a813c31 100644 --- a/index.html +++ b/index.html @@ -439,11 +439,8 @@ function initProtectionBanner(subscription) { const bannerImg = document.getElementById('promoBannerImg'); if (!banner) return; - // Si la empresa subió una imagen desde configuración, la aplicamos - const customAd = globalCompanyData?.company_ad || globalCompanyData?.ad; - if (customAd && bannerImg) { - bannerImg.src = customAd; - } + // 🛑 ELIMINADA LA SOBREESCRITURA DE LA BASE DE DATOS + // Ahora siempre cargará la imagen física especificada en el HTML. const wasClosed = localStorage.getItem(`promo_closed_${urlToken}`) === 'true'; const isPlanPage = window.location.pathname.includes('publi.html');