This commit is contained in:
杜恒 2021-02-04 17:31:58 +08:00
parent 5b986cea0e
commit a24bb0c2e4

View File

@ -68,6 +68,7 @@ document.addEventListener('DOMContentLoaded', () => {
});
}
/* 激活全局返回顶部功能 */
{
const handleScroll = () => ((document.documentElement.scrollTop || document.body.scrollTop) > 300 ? $('.joe_action_item.scroll').addClass('active') : $('.joe_action_item.scroll').removeClass('active'));