| ... | @@ -254,7 +254,7 @@ const mobileEndorsementRows = [ | ... | @@ -254,7 +254,7 @@ const mobileEndorsementRows = [ |
| 254 | <button class="pr-button"> | 254 | <button class="pr-button"> |
| 255 | <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.2"/><circle cx="6" cy="18" r="2.2"/><circle cx="18" cy="6" r="2.2"/><path d="M6 8v8M18 8v5a3 3 0 01-3 3h-3M13 13l-2 3 2 3"/></svg> | 255 | <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="6" cy="6" r="2.2"/><circle cx="6" cy="18" r="2.2"/><circle cx="18" cy="6" r="2.2"/><path d="M6 8v8M18 8v5a3 3 0 01-3 3h-3M13 13l-2 3 2 3"/></svg> |
| 256 | Commit &amp; push | 256 | Commit &amp; push |
| 257 | <span class="pr-button-kbd">⌘⏎</span> | 257 | <span id="pr-button-kbd" class="pr-button-kbd">⌘⏎</span> |
| 258 | </button> | 258 | </button> |
| 259 | </div> | 259 | </div> |
| 260 | </div> | 260 | </div> |
| ... | @@ -403,12 +403,14 @@ const mobileEndorsementRows = [ | ... | @@ -403,12 +403,14 @@ const mobileEndorsementRows = [ |
| 403 | const label = document.getElementById("download-label"); | 403 | const label = document.getElementById("download-label"); |
| 404 | const ctaBtn = document.getElementById("cta-download-btn") as HTMLAnchorElement | null; | 404 | const ctaBtn = document.getElementById("cta-download-btn") as HTMLAnchorElement | null; |
| 405 | const ctaLabel = document.getElementById("cta-download-label"); | 405 | const ctaLabel = document.getElementById("cta-download-label"); |
| | 406 | const kbd = document.getElementById("pr-button-kbd"); |
| 406 | | 407 | |
| 407 | const platform = detectPlatform(); | 408 | const platform = detectPlatform(); |
| 408 | if (!platform) return; | 409 | if (!platform) return; |
| 409 | document.documentElement.dataset.platform = platform.os; | 410 | document.documentElement.dataset.platform = platform.os; |
| 410 | if (label) label.textContent = platform.label; | 411 | if (label) label.textContent = platform.label; |
| 411 | if (ctaLabel) ctaLabel.textContent = platform.label; | 412 | if (ctaLabel) ctaLabel.textContent = platform.label; |
| | 413 | if (kbd && platform.os !== "mac") kbd.textContent = "Ctrl ⏎"; |
| 412 | | 414 | |
| 413 | try { | 415 | try { |
| 414 | const release = await fetchLatestRelease(); | 416 | const release = await fetchLatestRelease(); |