⚡ Improved the comments plug-in load function, close #12
This commit is contained in:
7
static/js/third-party/pace.js
vendored
Normal file
7
static/js/third-party/pace.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/* global Pace */
|
||||
|
||||
Pace.options.restartOnPushState = false;
|
||||
|
||||
document.addEventListener('pjax:send', () => {
|
||||
Pace.restart();
|
||||
});
|
||||
Reference in New Issue
Block a user