Просмотр исходного кода

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

Martin Filser 3 лет назад
Родитель
Сommit
5525247f52
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      client/components/cards/cardDetails.js

+ 1 - 1
client/components/cards/cardDetails.js

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