fixed 修复首页闪烁的bug
This commit is contained in:
1 parent
34b13ab25c
commit
735f72e35c
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