diff --git a/gulp/res/js/expand.js b/gulp/res/js/expand.js index b87f54e6..89d462c3 100644 --- a/gulp/res/js/expand.js +++ b/gulp/res/js/expand.js @@ -3,6 +3,13 @@ setDefaultLocalStorage('volume', 100); window.addEventListener('DOMContentLoaded', (event) => { + const actionFooter = document.querySelector('summary.toggle-summary'); + if (actionFooter) { + actionFooter.onclick = () => { + actionFooter.scrollIntoView(); + } + } + const isCatalog = window.location.pathname.endsWith('catalog.html'); if (!isCatalog) {