diff --git a/index.html b/index.html
index 18c8092..064585e 100644
--- a/index.html
+++ b/index.html
@@ -1746,13 +1746,15 @@ ${numPeople > 0 ? `
}
}
const cls = k === '3xL7' ? 'endgame' : (k === roiRow ? 'highlight' : '');
+ // Phase totals (x cycles) so every money column matches the Cycles column;
+ // per-cycle values here kept getting read as phase totals (Marty 07-30).
rows += `
| ${p.label} |
${k === '3xL7' ? 'every 19d' : `${cyclesNum}×`} |
${k === '3xL7' ? 'ongoing' : `~${p.months} months`} |
- $${p.payout.toFixed(2)} |
- $${p.profit.toFixed(2)} |
- $${yourCut.toFixed(2)} |
+ $${(p.payout * cyclesNum).toFixed(2)} |
+ $${(p.profit * cyclesNum).toFixed(2)} |
+ $${(yourCut * cyclesNum).toFixed(2)} |
$${cumRunning.toFixed(2)} |
`;
}
@@ -2093,9 +2095,11 @@ document.getElementById('heroCalcBtn').addEventListener('click', scrollToCalcula
// Hero signup button — same logic as calculator signup
function updateHeroSignupBtn() {
+ // #heroSignupBtn was removed in a redesign; unguarded .href crashed init()
+ // on every load (and killed updateSharedLinkBox below it). Guard it.
const refUser = getRefFromURL() || 'cryptoteambuild';
const btn = document.getElementById('heroSignupBtn');
- btn.href = `https://clickbaitpays.me/?ref=${refUser}`;
+ if (btn) btn.href = `https://clickbaitpays.me/?ref=${refUser}`;
}
// Auto-open calculator if ?calc=1 in URL