Copied! Tooltip of card link showed also "Copied!" at the comments

This commit is contained in:
Martin Filser 2021-11-19 12:18:12 +01:00
parent 7444c11c82
commit 5525247f52

View file

@ -327,7 +327,7 @@ BlazeComponent.extendComponent({
event.preventDefault();
const promise = Utils.copyTextToClipboard(event.target.href);
const $tooltip = this.$('.copied-tooltip');
const $tooltip = this.$('.card-details-header .copied-tooltip');
Utils.showCopied(promise, $tooltip);
},
'click .js-open-card-details-menu': Popup.open('cardDetailsActions'),