Skip to content

Commit 0c7677f

Browse files
committed
Make the first update more effective.
1 parent 66a6a85 commit 0c7677f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser-extension/tests/har-view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ function injectGitcassoScript(key: keyof typeof PAGES, html: string) {
518518
}
519519
520520
// Initial update
521-
updateCommentSpotDisplay();
521+
setTimeout(updateCommentSpotDisplay, 100);
522522
523523
// Update display periodically
524524
setInterval(updateCommentSpotDisplay, 2000);

0 commit comments

Comments
 (0)