优化pjax刷新

This commit is contained in:
Vaica committed 2026-06-02 14:34:23 +08:00
1 parent cc5887a74d
commit cda4dbb24b
8 files changed
+65 -24

No files matched your search

+7
View File
@@ -171,5 +171,12 @@ document.addEventListener("pjax:complete", function () {
} catch(e) { console.error('initImageFrameReveal error:', e); }
}
// 重载文章动画
if (typeof window.initPostScrollspy === 'function') window.initPostScrollspy();
// 重载链接卡片
if (typeof window.initLinkify === 'function') window.initLinkify();
// 重载中英文间距
if (typeof window.initPangu === 'function') window.initPangu();
refreshHeatmap();
});