fixed 修复首页闪烁的bug
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user