Fix pjax scroll restoration (#74)

This commit is contained in:
Julian Chen 2020-08-05 05:46:24 -05:00 committed by GitHub
parent 6b9b175d2a
commit 6814b16aba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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', () => {