Skip to content

Commit 999ff2f

Browse files
committed
[static][js][issue] Fix: Likes counter is not updating in real-time
1 parent 646f84d commit 999ff2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

static/script.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ document.getElementById("like-button").addEventListener("click", async () => {
5555
});
5656

5757
updateLikeCount();
58+
setInterval(updateLikeCount, 1500);
5859

5960
updateYears();
6061
setInterval(updateYears, 100);

0 commit comments

Comments
 (0)