From 4b351a622346d2a6f1f5d289dc97f4faa28a8237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BE=A1=E7=BE=A1?= <64968400+xyhcode@users.noreply.github.com> Date: Sun, 2 Apr 2023 15:54:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=BB=BA=E7=AB=99=E5=A4=A9=E6=95=B0?= =?UTF-8?q?=E5=9C=A8=E8=AF=A6=E6=83=85=E9=A1=B5=E5=86=85=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=BA=E5=BB=BA=E7=AB=99=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/assets/js/main.js b/templates/assets/js/main.js index 1a8d4d95..e5a40fb5 100644 --- a/templates/assets/js/main.js +++ b/templates/assets/js/main.js @@ -861,10 +861,11 @@ document.addEventListener('DOMContentLoaded', function () { } window.refreshFn = function () { - initAdjust() + initAdjust(); if (GLOBAL_CONFIG.isPost) { GLOBAL_CONFIG.isToc && tocFn() + addRuntime(); // GLOBAL_CONFIG.noticeOutdate !== undefined && addPostOutdateNotice() // GLOBAL_CONFIG.relativeDate.post && relativeDate(document.querySelectorAll('#post-meta time')) } else {