perf: modified pjax config

This commit is contained in:
XPoet 2020-12-31 16:38:31 +08:00
parent 68cb992469
commit 3d1332f28d
1 changed files with 5 additions and 1 deletions

View File

@ -7,9 +7,13 @@
'.page-container', '.page-container',
'.pjax', '.pjax',
], ],
history: true,
cacheBust: false, cacheBust: false,
currentUrlFullReload: false, currentUrlFullReload: false,
timeout: 0 timeout: 0,
scrollTo: false,
scrollRestoration: false,
debug: false,
}); });
window.addEventListener('pjax:complete', () => { window.addEventListener('pjax:complete', () => {