From c4cc00cc460bf71e6ca85f028a027c9242b1e03c Mon Sep 17 00:00:00 2001 From: Mike Rockwell Date: Sat, 26 Jul 2025 17:27:08 -0400 Subject: [PATCH] removed duplicate scroll effect --- app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app.js b/app.js index 67acf04..bc2b007 100644 --- a/app.js +++ b/app.js @@ -9,7 +9,6 @@ const bodyTop = document.getElementById("top"); document.querySelector('.value-block').addEventListener('toggle', function() { if (this.open) { // Scroll to contents of value block when it is opened - valueBlock.scrollIntoView({ behavior: "smooth" }); setTimeout(() => { valueBlock.scrollIntoView({ behavior: "smooth" }); }, 150);