修复评论区不显示bug。

This commit is contained in:
mckero authored and GitHub committed 2025-10-07 18:39:18 +08:00
1 parent b537dd0f7f
commit 29e1313f58
1 file changed
+12
+12
View File
@@ -372,6 +372,18 @@ function showBanner() {
banner.classList.remove('opacity-0', 'scale-105');
}
// 专用于创建loadComment的事件,即通知评论组件进行一次加载
function initCommentComponent() {
const event = new Event("loadComment");
document.dispatchEvent(event);
}
// twikoo评论
function init() {
// disableAnimation()() // TODO
loadTheme();