Skip to content

Commit

Permalink
🐞 fix: 字段错误
Browse files Browse the repository at this point in the history
  • Loading branch information
白云苍狗 committed Sep 19, 2022
1 parent 2eb8b9d commit c78f17d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/hexo-theme-async/source/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,14 @@
}

desktop.addListener(reload);
mobile.addListener(freload);
mobile.addListener(reload);

document.addEventListener('swup:contentReplaced', (event) => {
backtop.removeEventListener('click', back_fun)
window.removeEventListener('resize', update)
ro.unobserve(container)
desktop.removeListener(reload);
mobile.removeListener(freload);
mobile.removeListener(reload);
scroll.destroy()
});
},
Expand Down

0 comments on commit c78f17d

Please sign in to comment.