Skip to content

Commit 2632ac6

Browse files
author
Till Brehm
committed
Merge branch '6726-copy-to-clipboard-fix' into 'develop'
fix copy to clipboard selector, #6726 Closes #6726 See merge request ispconfig/ispconfig3!1924
2 parents b115533 + 4258fb3 commit 2632ac6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

interface/web/themes/default/assets/javascripts/ispconfig.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,11 @@ $(document).ready(function() {
825825
temp.remove();
826826
} );
827827

828+
//Prevent fireing event "click" to parent .copy-to-clipboard element #6726
829+
$(document).on('click', '.copy-to-clipboard > a', function() {
830+
return false;
831+
} );
832+
828833
//display copy-to-clipboard icon
829834
let lastCopyToClipboardIcon;
830835
$(document).on("mouseenter", '.copy-to-clipboard', function() {

0 commit comments

Comments
 (0)