Board: fix stale officeholder total in header (11,285 → 13,329)
The "OFFICEHOLDERS" stat was hardcoded to the old v2 Person count; v3 has 13,329. Counties/candidates/districts were unaffected. (Follow-up worth doing: emit these header totals from build_viz.py so they can't go stale.) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -281,7 +281,7 @@ function setLens(k){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ---- totals ----
|
// ---- totals ----
|
||||||
document.getElementById("t-people").textContent="11,285";
|
document.getElementById("t-people").textContent="13,329";
|
||||||
document.getElementById("t-counties").textContent=Object.keys(D).length.toLocaleString();
|
document.getElementById("t-counties").textContent=Object.keys(D).length.toLocaleString();
|
||||||
|
|
||||||
render(); renderLegend(); document.getElementById("stagefoot").textContent=foot[cur];
|
render(); renderLegend(); document.getElementById("stagefoot").textContent=foot[cur];
|
||||||
|
|||||||
Reference in New Issue
Block a user