File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ const mobileEndorsementRows = [
254254 <button class =" pr-button" >
255255 <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 >
256256 Commit & push
257- <span class =" pr-button-kbd" >⌘⏎</span >
257+ <span id = " pr-button-kbd " class =" pr-button-kbd" >⌘⏎</span >
258258 </button >
259259 </div >
260260 </div >
@@ -403,12 +403,14 @@ const mobileEndorsementRows = [
403403 const label = document.getElementById("download-label");
404404 const ctaBtn = document.getElementById("cta-download-btn") as HTMLAnchorElement | null;
405405 const ctaLabel = document.getElementById("cta-download-label");
406+ const kbd = document.getElementById("pr-button-kbd");
406407
407408 const platform = detectPlatform();
408409 if (!platform) return;
409410 document.documentElement.dataset.platform = platform.os;
410411 if (label) label.textContent = platform.label;
411412 if (ctaLabel) ctaLabel.textContent = platform.label;
413+ if (kbd && platform.os !== "mac") kbd.textContent = "Ctrl ⏎";
412414
413415 try {
414416 const release = await fetchLatestRelease();
You can’t perform that action at this time.
0 commit comments