Skip to content

Commit

Permalink
amend copy fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
lacksfish committed Jan 22, 2024
1 parent c6f477e commit d9f9431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/directive/clipboard.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class ClipboardDirective {

private copyUsingFallbackMethod(): void {
const input = document.createElement('textarea');
input.innerHTML = this.payload;
input.innerText = this.payload;
document.body.appendChild(input);
input.select();

Expand Down

0 comments on commit d9f9431

Please sign in to comment.