From b2c83630dbeee888b52abd2c512d5780747c250b Mon Sep 17 00:00:00 2001 From: Lauren Hitchon Date: Wed, 12 Jun 2024 17:33:54 +1000 Subject: [PATCH] Update main.js (#405) --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 7bf6f77a0..939ca8c75 100644 --- a/src/main.js +++ b/src/main.js @@ -39,7 +39,7 @@ if (!Element.prototype.closest) { function initSite() { const accordions = document.querySelectorAll('.js-accordion') - const backTop = document.querySelectorAll('.js-back-to-top') + const backTop = document.querySelectorAll('button.js-back-to-top') const carousel = document.querySelectorAll('.js-carousel') const closeSearchButton = document.querySelectorAll('.js-close-search') const datePicker = document.querySelectorAll('.js-date-input')