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:
@@ -2214,6 +2214,7 @@ function copyPlan() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(generatePlan, 100);
|
setTimeout(generatePlan, 100);
|
||||||
|
setTimeout(updateAll, 100);
|
||||||
|
|
||||||
// ─── ROI Dashboard ──────────────────────────────────────
|
// ─── ROI Dashboard ──────────────────────────────────────
|
||||||
function updateROI() {
|
function updateROI() {
|
||||||
|
|||||||
Reference in New Issue
Block a user