diff --git a/layout/_partial/pjax/pjax.ejs b/layout/_partial/pjax/pjax.ejs index d13da7b..006c688 100644 --- a/layout/_partial/pjax/pjax.ejs +++ b/layout/_partial/pjax/pjax.ejs @@ -23,7 +23,7 @@ document.addEventListener('pjax:complete', () => { KEEP.utils.pjaxProgressBarEnd(); - pjax.executeScripts(document.querySelectorAll('script[data-pjax], .pjax script')); + window.pjax.executeScripts(document.querySelectorAll('script[data-pjax], .pjax script')); KEEP.refresh(); }); });