fix:建站天数在详情页内显示为建站日期

This commit is contained in:
羡羡 2023-04-02 15:54:40 +08:00 committed by airbo
parent b964711b42
commit 4b351a6223
1 changed files with 2 additions and 1 deletions

View File

@ -861,10 +861,11 @@ document.addEventListener('DOMContentLoaded', function () {
} }
window.refreshFn = function () { window.refreshFn = function () {
initAdjust() initAdjust();
if (GLOBAL_CONFIG.isPost) { if (GLOBAL_CONFIG.isPost) {
GLOBAL_CONFIG.isToc && tocFn() GLOBAL_CONFIG.isToc && tocFn()
addRuntime();
// GLOBAL_CONFIG.noticeOutdate !== undefined && addPostOutdateNotice() // GLOBAL_CONFIG.noticeOutdate !== undefined && addPostOutdateNotice()
// GLOBAL_CONFIG.relativeDate.post && relativeDate(document.querySelectorAll('#post-meta time')) // GLOBAL_CONFIG.relativeDate.post && relativeDate(document.querySelectorAll('#post-meta time'))
} else { } else {