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