mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
Fix pjax scroll restoration (#74)
This commit is contained in:
parent
6b9b175d2a
commit
6814b16aba
@ -10,7 +10,8 @@ var pjax = new Pjax({
|
||||
],
|
||||
analytics: false,
|
||||
cacheBust: false,
|
||||
scrollTo : !CONFIG.bookmark.enable
|
||||
scrollRestoration: false,
|
||||
scrollTo: !CONFIG.bookmark.enable
|
||||
});
|
||||
|
||||
document.addEventListener('pjax:success', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user