Skip to content

Commit

Permalink
Merge pull request #5589 from dodona-edu/fix/copy-btn
Browse files Browse the repository at this point in the history
Fix typo in copy container that broke copying
  • Loading branch information
jorg-vr authored Jun 6, 2024
2 parents 7d0bee8 + adce787 commit aa9016b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/copy_container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export class CopyContainer extends DodonaElement {
}

protected render(): TemplateResult {
return html`<pre class="code-wrapper"><code id="${this.containerId}">${this.content}</code><d-copy-button targetId="${this.containerId}"></d-copy-button></pre>`;
return html`<pre class="code-wrapper"><code id="${this.containerId}">${this.content}</code><d-copy-button target-id="${this.containerId}"></d-copy-button></pre>`;
}
}

0 comments on commit aa9016b

Please sign in to comment.