We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fcf745 commit 6cc06b3Copy full SHA for 6cc06b3
js/varien/js.js
@@ -737,6 +737,8 @@ function createCopyIconElement() {
737
* @param {Event} event - The event object triggered by the click event
738
*/
739
function copyText(event) {
740
+ event.stopPropagation();
741
+ event.preventDefault();
742
const copyIcon = event.currentTarget;
743
const copyText = copyIcon.previousElementSibling.getAttribute('data-copy-text');
744
navigator.clipboard.writeText(copyText);
0 commit comments