From a866d8adf4b467ffa5e92c5b4a5d5327d4e3fc1b Mon Sep 17 00:00:00 2001 From: weightedangelcube Date: Sat, 22 Mar 2025 20:18:41 -0600 Subject: [PATCH] refactor: edit carbon dioxide phrasing --- src/scripts/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/index.ts b/src/scripts/index.ts index 965389d..80ec82c 100644 --- a/src/scripts/index.ts +++ b/src/scripts/index.ts @@ -8,7 +8,7 @@ async function fetchCarbon() : Promise { window.onload = async function() { try { - document.getElementById('carbon').innerHTML = "your visit to this website produced " + Math.round(await fetchCarbon() * 100000) / 100 + " mL of carbon dioxide!"; + document.getElementById('carbon').innerHTML = "your visit to this website produced only " + Math.round(await fetchCarbon() * 100000) / 100 + " mL of carbon dioxide!"; } catch (error) { document.getElementById('carbon').innerHTML = "unable to load carbon usage!"; console.log(error); -- 2.51.2