From 56cbe820a5b4a026652f8d6b0aee0419a785b628 Mon Sep 17 00:00:00 2001 From: Reef Date: Wed, 24 Jun 2026 21:02:36 +0000 Subject: [PATCH] Remove free trial popup modal and related JS (scroll trigger, panel, functions) --- index.html | 76 ------------------------------------------------------ script.js | 29 +-------------------- 2 files changed, 1 insertion(+), 104 deletions(-) diff --git a/index.html b/index.html index 6cc1dcb..2e66d1e 100644 --- a/index.html +++ b/index.html @@ -477,83 +477,7 @@ - - -
diff --git a/script.js b/script.js index b63feed..7837e1e 100644 --- a/script.js +++ b/script.js @@ -91,21 +91,7 @@ var si = 0, }); } - setTimeout(function () { - var blogSection = document.getElementById("blog"); - if (blogSection) { - function onBlogScroll() { - var rect = blogSection.getBoundingClientRect(); - if (rect.top < window.innerHeight && rect.bottom > 0) { - openTrialWidget(); - window.removeEventListener("scroll", onBlogScroll); - } - } - window.addEventListener("scroll", onBlogScroll); - } - }, 3000); - - document.querySelectorAll(".tab-btn").forEach(function (b) { + document.querySelectorAll(".tab-btn").forEach(function (b) { b.addEventListener("click", function () { document.querySelectorAll(".tab-btn").forEach(function (x) { x.classList.remove("active"); @@ -130,8 +116,6 @@ var si = 0, yearlyPrice, isEmpire, ) { - document.getElementById("orderPanelTrial").style.display = - "none"; document.getElementById("orderPanelBuy").style.display = "block"; var widget = document.getElementById("orderWidgetOverlay"); @@ -170,17 +154,6 @@ var si = 0, widget.style.display = "flex"; orderPopupShown = true; } - function openTrialWidget() { - document.getElementById("orderPanelBuy").style.display = "none"; - document.getElementById("orderPanelTrial").style.display = - "block"; - document.getElementById("orderWidgetOverlay").style.display = - "flex"; - orderPopupShown = true; - } - function switchToBuyPanel() { - openOrderWidget("On the Rise", 36.21, 395.0, false); - } function closeOrderWidget() { document.getElementById("orderWidgetOverlay").style.display = "none";