From bfadcef287aa2e1a71c4b5df78f592c543b4194a Mon Sep 17 00:00:00 2001 From: Mike Rockwell Date: Sat, 26 Jul 2025 17:24:02 -0400 Subject: [PATCH] Adjust scroll delay --- app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index e1c3041..67acf04 100644 --- a/app.js +++ b/app.js @@ -12,7 +12,7 @@ document.querySelector('.value-block').addEventListener('toggle', function() { valueBlock.scrollIntoView({ behavior: "smooth" }); setTimeout(() => { valueBlock.scrollIntoView({ behavior: "smooth" }); - }, 100); + }, 150); } else { // Scroll to top of button list when value block is closed } @@ -80,7 +80,7 @@ document.querySelector("#btc-qr-link a").addEventListener("click", function(){ document.querySelector("#btcwall").insertAdjacentHTML("afterend", ""); setTimeout(() => { document.querySelector("#btc-qr-link").scrollIntoView({ behavior: "smooth" }); - }, 100); + }, 150); } }); @@ -100,7 +100,7 @@ document.querySelector("#eth-qr-link a").addEventListener("click", function(){ document.querySelector("#ethwall").insertAdjacentHTML("afterend", ""); setTimeout(() => { document.querySelector("#eth-qr-link").scrollIntoView({ behavior: "smooth" }); - }, 100); + }, 150); } }); @@ -120,6 +120,6 @@ document.querySelector("#doge-qr-link a").addEventListener("click", function(){ document.querySelector("#dogewall").insertAdjacentHTML("afterend", ""); setTimeout(() => { document.querySelector("#doge-qr-link").scrollIntoView({ behavior: "smooth" }); - }, 100); + }, 150); } });