mirror of
https://github.com/wekan/wekan.git
synced 2026-01-23 09:46:09 +01:00
Fixed "Copy card link to clipboard" icon often not working.
Thanks to brlin-tw and xet7 ! Fixes #6068
This commit is contained in:
parent
4473ca09f6
commit
d337afd5d3
3 changed files with 8 additions and 5 deletions
|
|
@ -423,7 +423,8 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
'click .js-copy-link'(event) {
|
||||
event.preventDefault();
|
||||
const promise = Utils.copyTextToClipboard(event.target.href);
|
||||
const url = this.data().absoluteUrl();
|
||||
const promise = Utils.copyTextToClipboard(url);
|
||||
|
||||
const $tooltip = this.$('.card-details-header .copied-tooltip');
|
||||
Utils.showCopied(promise, $tooltip);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue