From 84b291b5f37056996fcf53147ca408dd337b8c79 Mon Sep 17 00:00:00 2001 From: sunheyi <1061867552@qq.com> Date: Sat, 5 Nov 2022 09:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BE=E5=88=86=E6=AF=94?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/blogex.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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