Fix Pjax scroll restoration (#256)

This commit is contained in:
2021-04-30 14:13:23 +08:00 committed by GitHub
parent 959e100298
commit c2c1d82590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,9 +9,8 @@ const pjax = new Pjax({
'.languages', '.languages',
'.pjax' '.pjax'
], ],
analytics : false, analytics: false,
cacheBust : false, cacheBust: false,
scrollRestoration: false,
scrollTo : !CONFIG.bookmark.enable scrollTo : !CONFIG.bookmark.enable
}); });