瀏覽代碼

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

Martin Filser 3 年之前
父節點
當前提交
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'),