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);