优化pjax刷新
This commit is contained in:
1 parent
cc5887a74d
commit
cda4dbb24b
8 files changed
+65
-24
No files matched your search
@@ -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();
|
||||
});
|
||||
Reference in new issue
Block a user