Skip to content
Permalink
Browse files

Fix: Show check mark after copy to clipboard

Fix #2705 
Close #2841
  • Loading branch information...
jaspreet57 authored and antross committed Aug 23, 2019
1 parent 2508c04 commit f6b7cd9cb8083d90fb6290d1970989e7fb2b38e1
Showing with 2 additions and 2 deletions.
  1. +2 −2 packages/formatter-html/src/assets/js/scan/scanner-common.js
@@ -265,7 +265,7 @@
};

var checkClipboard = function (element) {
var parentElement = element.closest('.permalink-copy');
var parentElement = element.querySelector('.permalink-copy');
var permalinkImageElement = parentElement.querySelector('img');

if (!window.ejsPartials) {
@@ -286,7 +286,7 @@

setClipboardText(permalink.trim());

checkClipboard(permalinkElement);
checkClipboard(parent);
};

copyButtons.forEach(function (copyButton) {

0 comments on commit f6b7cd9

Please sign in to comment.
You can’t perform that action at this time.