chore(pjax): modified name of the PJAX variable

This commit is contained in:
XPoet 2021-04-26 17:35:58 +08:00
parent 922c7758dd
commit 8df3165603
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
document.addEventListener('pjax:complete', () => { document.addEventListener('pjax:complete', () => {
KEEP.utils.pjaxProgressBarEnd(); KEEP.utils.pjaxProgressBarEnd();
pjax.executeScripts(document.querySelectorAll('script[data-pjax], .pjax script')); window.pjax.executeScripts(document.querySelectorAll('script[data-pjax], .pjax script'));
KEEP.refresh(); KEEP.refresh();
}); });
}); });