From 3acb268f9072a9f75c8c4a674430712d8df45240 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Sat, 12 Oct 2024 08:46:03 +0800 Subject: [PATCH] misc --- v3/src/components/CookieConsentConfig.ts | 1 - v3/src/components/widgets/Carousel.jsx | 2 -- v3/src/pages/pricing.astro | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/v3/src/components/CookieConsentConfig.ts b/v3/src/components/CookieConsentConfig.ts index e81fe66..1b05a36 100644 --- a/v3/src/components/CookieConsentConfig.ts +++ b/v3/src/components/CookieConsentConfig.ts @@ -24,7 +24,6 @@ export const config: CookieConsentConfig = { label: 'Google Analytics 4 (dummy)', onAccept: () => { - console.log('ga4 accepted'); // TODO: load ga4 }, onReject: () => { diff --git a/v3/src/components/widgets/Carousel.jsx b/v3/src/components/widgets/Carousel.jsx index 0f4794d..39bce2b 100644 --- a/v3/src/components/widgets/Carousel.jsx +++ b/v3/src/components/widgets/Carousel.jsx @@ -10,8 +10,6 @@ const Carousel = ({ list }) => { console.log('slide change')} - onSwiper={(swiper) => console.log(swiper)} pagination={{ clickable: true }} style={{ '--swiper-pagination-bullet-inactive-color': '#fff', diff --git a/v3/src/pages/pricing.astro b/v3/src/pages/pricing.astro index 21f9162..34f32f6 100644 --- a/v3/src/pages/pricing.astro +++ b/v3/src/pages/pricing.astro @@ -302,7 +302,7 @@ const metadata = { if (window.location.href.indexOf("custom2") > 0) { setTimeout(function() { window.location = "#custom2"; }, 150); } else { - document.getElementById("custom2").parentElement.parentElement.parentElement.style.display = 'none'; + setTimeout(function() { document.getElementById("custom2").parentElement.parentElement.parentElement.style.display = 'none'; }, 0); } document.getElementById("users2").oninput = function() {