diff --git a/source/js/main.js b/source/js/main.js index 7f1e7ca..82d9150 100644 --- a/source/js/main.js +++ b/source/js/main.js @@ -277,7 +277,7 @@ document.addEventListener('DOMContentLoaded', function () { const isChatBtnHide = typeof chatBtnHide === 'function' const isChatBtnShow = typeof chatBtnShow === 'function' - const scroolTask = btf.throttle(() => { + const scrollTask = btf.throttle(() => { const currentTop = window.scrollY || document.documentElement.scrollTop const isDown = scrollDirection(currentTop) if (currentTop > 56) {