From 97c7b7ada08aaa42e1f682acf28793f9ddb411e1 Mon Sep 17 00:00:00 2001 From: gitadmin Date: Sat, 2 May 2026 15:27:12 +0000 Subject: [PATCH] fix: escape apostrophe in JS string inside template literal (syntax error kills script) --- routes/agentify-help.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/agentify-help.ts b/routes/agentify-help.ts index b68542b..5e8f520 100644 --- a/routes/agentify-help.ts +++ b/routes/agentify-help.ts @@ -3250,7 +3250,7 @@ async function requestPortfolioAccess() { const d = await r.json(); if (d.ok && d.sent !== false) { result.style.cssText = 'margin-top:12px;font-size:.88rem;color:#22c55e;font-weight:600;padding:10px 14px;background:rgba(34,197,94,0.08);border:1px solid rgba(34,197,94,0.25);border-radius:6px;display:block'; - result.textContent = '✓ Link sent! Check your inbox — and your spam folder if you don\'t see it within a minute.'; + result.textContent = "✓ Link sent! Check your inbox — and your spam folder if you don't see it within a minute."; if (btn) { btn.disabled = true; btn.textContent = 'Sent ✓'; btn.style.opacity = '0.6'; } emailEl.value = ''; } else {