removed duplicate scroll effect

This commit is contained in:
mdrockwell committed 2025-07-26 17:27:08 -04:00
1 parent bfadcef287
commit c4cc00cc46
1 file changed
-1
-1
View File
@@ -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);