From 84ae2ac3f7ec946632f30830b0092b2d3f76dcda Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Fri, 31 Oct 2025 15:18:35 -0400 Subject: [PATCH] centering --- ye-snippet.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ye-snippet.js b/ye-snippet.js index 34003e7..5213edf 100644 --- a/ye-snippet.js +++ b/ye-snippet.js @@ -25,6 +25,7 @@ const Render=()=> { float: none; width: 80%; + margin: 0 auto; @media(min-width:625px) { width:50%; @@ -100,7 +101,7 @@ const cacheName =()=> const lookup = localStorage.getItem("ye-2025-product"); if(!lookup) { - console.log("fresh cache of name"); + //console.log("fresh cache of name"); cacheName().then(mentionDonation); } else @@ -110,12 +111,12 @@ else const elapsed = Math.abs(THEN - NOW); if( elapsed > 2 * 60 * 60 * 1000) { - console.log("cache stale, re-fetching name"); + //console.log("cache stale, re-fetching name"); cacheName().then(mentionDonation); } else { - console.log("using cached name"); + //console.log("using cached name"); mentionDonation(name); } }