home: drop the prove preamble (the js half of #1165) (#1166)
The button carries the meaning; email's note stays (it names where the code went). Also mends the apple branch's indentation from #1163.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 file changed,
+5
−5
home/web/static/home.js+5 −5
diff --git a/home/web/static/home.js b/home/web/static/home.js| index 85be3c8..f92212d 100644 |
| --- a/home/web/static/home.js |
| +++ b/home/web/static/home.js |
| @@ -2079,17 +2079,17 @@ function openCombineStep() { |
| $("combine-code").classList.remove("hidden"); |
| combineRequestCode(); |
| $("combine-code-input").focus(); |
| -} else if (combine.kind === "apple") { |
| - $("combine-prove-note").textContent = |
| - "First, prove the other account is yours: sign in with that Apple ID — you’ll come straight back here."; |
| + } else if (combine.kind === "apple") { |
| + // The button says it all (Paul: no "First, prove…" preamble); only the |
| + // email prove keeps its note — it names where the code went. |
| + $("combine-prove-note").textContent = ""; |
| $("combine-apple-go").classList.remove("hidden"); |
| $("combine-apple-go").focus(); |
| } else { |
| // A provider kind (google/microsoft/github): one generic go button, |
| // dressed per provider — brand class, display name, cloned glyph. |
| const p = OIDC_WEB[combine.kind]; |
| - $("combine-prove-note").textContent = |
| - "First, prove the other account is yours: sign in with that " + p.display + " account — you’ll come straight back here."; |
| + $("combine-prove-note").textContent = ""; |
| const go = $("combine-oidc-go"); |
| go.className = { google: "google-btn", microsoft: "ms-btn", github: "gh-btn" }[combine.kind]; |
| go.textContent = "Continue with " + p.display; |