fix: escape apostrophe in JS string inside template literal (syntax error kills script)
This commit is contained in:
parent
ba9a143385
commit
97c7b7ada0
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue