diff --git a/templates/assets/zhheo/blogex.js b/templates/assets/zhheo/blogex.js index 39ec2adc..eb47bb48 100644 --- a/templates/assets/zhheo/blogex.js +++ b/templates/assets/zhheo/blogex.js @@ -757,7 +757,7 @@ document.addEventListener('pjax:send', function () { heo.showLoading(); }) -document.addEventListener('pjax:complete', function () { +document.addEventListener('load', function () { coverColor() addRightMenuClickEvent() navTitle() @@ -781,4 +781,7 @@ document.addEventListener('pjax:complete', function () { heo.initThemeColor() heo.hideLoading() heo.tagPageActive() -}) \ No newline at end of file +}) +window.onscroll = function () { + percent(); +}; \ No newline at end of file