diff options
Diffstat (limited to 'ccc.html')
| -rw-r--r-- | ccc.html | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,7 +35,7 @@ <h1>coffee</h1> <div id="ccc-intro"> - <p>A minimal coffee tracker. Log your daily cups and track your habits. Data lives in your browser — no account needed.</p> + <p>A minimal coffee tracker. Log your daily cups and track your habits. Data lives in your browser, no account needed.</p> </div> <div class="heatmap-wrap"> @@ -93,7 +93,7 @@ <script> // ───────────────────────────────────────────────────────────── - // CONFIG — edit these values to configure the app + // CONFIG: edit these values to configure the app // ───────────────────────────────────────────────────────────── const CONFIG = { DATA_URL: "data.json", // "" = local mode | "<url>" = static site mode @@ -267,7 +267,7 @@ g.addEventListener("mouseenter", (e) => { const cups = entries[iso] || 0; const label = cups === 1 ? "cup" : "cups"; - tooltip.textContent = `${formatDisplay(iso)} — ${cups} ${label}`; + tooltip.textContent = `${formatDisplay(iso)}: ${cups} ${label}`; tooltip.style.display = "block"; positionTooltip(e); }); |
