From c6188cfd767236d9d113145b615da1b981122843 Mon Sep 17 00:00:00 2001 From: Owen Buckley Date: Sat, 26 Oct 2024 14:32:56 -0400 Subject: [PATCH] restore ctc for runners --- src/components/copy-to-clipboard-block/ctc-block.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/copy-to-clipboard-block/ctc-block.js b/src/components/copy-to-clipboard-block/ctc-block.js index 2328a2e0..da13407b 100644 --- a/src/components/copy-to-clipboard-block/ctc-block.js +++ b/src/components/copy-to-clipboard-block/ctc-block.js @@ -55,10 +55,10 @@ export default class CopyToClipboardBlock extends HTMLElement { const isActive = idx === this.selectCommandRunnerIdx ? " active" : ""; return ` -
  • - ${scriptRunnerLogoMapper[runner]} -
  • - `; +
  • + ${scriptRunnerLogoMapper[runner]} +
  • + `; }) .join("")} @@ -92,7 +92,7 @@ export default class CopyToClipboardBlock extends HTMLElement { this.shadowRoot.appendChild(template.content.cloneNode(true)); switch (variant) { - case "runner": + case "runners": this.shadowRoot .querySelectorAll(".command-runner") .forEach((item) => item.addEventListener("click", this.selectCommandRunner.bind(this)));