Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
CoderPopCat committed Aug 4, 2023
1 parent 200e0a9 commit 485ae01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ <h3>Zero Two</h3>
const updateViews = async () => {
const response = await fetch('https://cdn.popcat.xyz/update');
const res = await response.json();
const count = res.count;
const { count } = res;
const viewsCount = document.getElementById('views-count');
viewsCount.innerHTML = count;
viewsCount.setAttribute('data-purecounter-end', count);
viewsCount.innerHTML = count;
}
updateViews();
</script>
Expand Down

1 comment on commit 485ae01

@vercel
Copy link

@vercel vercel bot commented on 485ae01 Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.