Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
9 lines
267 B
JavaScript
9 lines
267 B
JavaScript
(function () {
|
|
var scrollTopButtons = document.querySelectorAll(".home-mobile-footer-top");
|
|
scrollTopButtons.forEach(function (button) {
|
|
button.addEventListener("click", function () {
|
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
});
|
|
});
|
|
})();
|