diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-10 14:37:15 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-02-10 16:39:28 +0100 |
commit | 7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2 (patch) | |
tree | ae406ce7232f51058f81591072d59d90fd388d33 /client/src/app/shared/forms | |
parent | be27ef3b4682c5639039474c39ee0d234d16f482 (diff) | |
download | PeerTube-7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2.tar.gz PeerTube-7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2.tar.zst PeerTube-7811819b1a942c99a80e36eb93cc3a8b0e7fc5f2.zip |
Use angular 9 clipboard cdk
Diffstat (limited to 'client/src/app/shared/forms')
-rw-r--r-- | client/src/app/shared/forms/input-readonly-copy.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/forms/input-readonly-copy.component.html b/client/src/app/shared/forms/input-readonly-copy.component.html index 27571b63f..b6a56ec44 100644 --- a/client/src/app/shared/forms/input-readonly-copy.component.html +++ b/client/src/app/shared/forms/input-readonly-copy.component.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control readonly" readonly [value]="value" /> | 2 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control readonly" readonly [value]="value" /> |
3 | 3 | ||
4 | <div class="input-group-append"> | 4 | <div class="input-group-append"> |
5 | <button [ngxClipboard]="urlInput" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary"> | 5 | <button [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary"> |
6 | <span class="glyphicon glyphicon-copy"></span> | 6 | <span class="glyphicon glyphicon-copy"></span> |
7 | </button> | 7 | </button> |
8 | </div> | 8 | </div> |