diff -r d76f623d487c -r 6ee186182c70 www/js/prod_forum.js --- a/www/js/prod_forum.js Fri Aug 05 11:02:01 2022 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ - -$(document).ready(function() { - - /** - * This will copy the innerHTML of an element to the clipboard - * @param element reference OR string - */ - function copyToClipboard(e) { - var tempItem = document.createElement('textarea'); - - document.body.appendChild(tempItem); - tempItem.value = e; - tempItem.select(); - document.execCommand('Copy'); - - tempItem.parentElement.removeChild(tempItem); - } - - - $('#copytoClipboard').jqxButton({ template: 'success', theme: theme, width: 150 }); - $('#copytoClipboard').click(function() { - copyToClipboard(forumstr); - window.close(); - }); - -}); -