forked from Cavemanon/cavepaintings
Converted cron_upload to be able to run per-user, using user API keys
This commit is contained in:
7
ext/cron_uploader/script.js
Normal file
7
ext/cron_uploader/script.js
Normal file
@ -0,0 +1,7 @@
|
||||
function copyInputToClipboard(inputId) {
|
||||
// Referenced from https://www.w3schools.com/howto/howto_js_copy_clipboard.asp
|
||||
let source = document.getElementById(inputId);
|
||||
source.select();
|
||||
source.setSelectionRange(0, 99999); /*For mobile devices*/
|
||||
document.execCommand("copy");
|
||||
}
|
Reference in New Issue
Block a user