www/js/rec_forum.js

changeset 804
ac5c3e97fcf1
parent 803
45e87aa8d02c
child 805
488613f30789
--- a/www/js/rec_forum.js	Tue Aug 02 20:35:00 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();
- });
-
-});
-

mercurial