Fix: call updateAll() on page load so sponsor columns start hidden

- Added setTimeout(updateAll, 100) so the referral columns are hidden from the very first page render, not just after user interaction
- Without this, the <td> cells with .referral-col class were visible even though the checkbox was unchecked
This commit is contained in:
Marty Bostick
2026-07-30 21:41:56 +00:00
parent 8178b72df2
commit 69a6de26ef
+1
View File
@@ -2214,6 +2214,7 @@ function copyPlan() {
}); });
setTimeout(generatePlan, 100); setTimeout(generatePlan, 100);
setTimeout(updateAll, 100);
// ─── ROI Dashboard ────────────────────────────────────── // ─── ROI Dashboard ──────────────────────────────────────
function updateROI() { function updateROI() {