Skip to content

Commit

Permalink
Update cc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ItziSpyder authored Aug 30, 2024
1 parent 7acb6bb commit 97c08f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cclive/js/cc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const lastRefreshText = document.querySelector('#since-last-refresh');
const curseforgeDlt = document.querySelector('#curseforge #sub-download-text');
const modrinthDlt = document.querySelector('#modrinth #sub-download-text');
const githubDlt = document.querySelector('#github #sub-download-text');
const planetmcDlt = document.querySelector('#planetmc #sub-download-text');

var timeUtilNextFetch = 15;
var lastFetch = 0;
Expand All @@ -30,6 +31,7 @@ function update() {
curseforgeDlt.innerText = formatNumber(dls.curseforge);
modrinthDlt.innerText = formatNumber(dls.modrinth);
githubDlt.innerText = formatNumber(dls.github);
planetmcDlt.innerText = formatNumber(dls.planetmc); // hardcoded until I find a fix for CORS error, last updated 8/30/2024
}

function tickAPIFetch() {
Expand Down

0 comments on commit 97c08f8

Please sign in to comment.