fixed 修复首页闪烁的bug

This commit is contained in:
Vaica committed 2026-02-05 21:56:27 +08:00
1 parent f658dcc767
commit 8b7f9e7ebf
3 files changed
+25 -2

No files matched your search

@@ -160,7 +160,10 @@ window.initFloatingTools = function() {
};
// Initial check
checkCommentVisibility(toComments);
// Use setTimeout to avoid initial render flickering
setTimeout(function() {
checkCommentVisibility(toComments);
}, 100);
var newToComments = toComments.cloneNode(true);
if (toComments.parentNode) {