diff --git a/static/app.js b/static/app.js index da718b2..7496ef4 100644 --- a/static/app.js +++ b/static/app.js @@ -170,6 +170,8 @@ function showHome() { const done = shows.filter(x => histClass(x) === "done").slice(0, 6); showSec("Continue watching", cont, [link("history \u2192", "?history")]); showSec("On hold", hold, hold.length ? [link("history \u2192", "?history")] : []); + // watch-time heatmap (past year, shared with ?stats) + main.append(heatSection()); showSec("Recently finished", done, done.length ? [link("history \u2192", "?history")] : []); // 5. stats line (compact; full breakdown at ?stats) const sh = el("div", "sec-head"); @@ -182,8 +184,6 @@ function showHome() { ` (${d.episodes.completed} finished) \u00b7 ${d.days_active} active days \u00b7` + ` best streak ${d.best_streak}d \u00b7 ${d.on_hold} on hold`; }).catch(() => sl.remove()); - // 5b. watch-time heatmap (past year, shared with ?stats) - main.append(heatSection()); } // ---------- search ----------