git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
112e0dc
Branches
Tags
master
ticket
webinterface.git
modules
gitolite
git.js
removed jquery and jqueryUI from webinterface
Bernd Wurst
commited
112e0dc
at 2023-04-29 11:47:42
git.js
Blame
History
Raw
function setup_copy_buttons() { document.querySelectorAll('button.copyurl').forEach( obj => { obj.addEventListener("click", (e) => { var id=e.currentTarget.id; input = document.querySelector('#'+id+'_url'); input.focus(); input.select(); document.execCommand("copy"); }); } ); } ready(() => { setup_copy_buttons(); });