mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-16 16:18:30 +00:00
Update target because of the arrow function
This commit is contained in:
parent
8338573c10
commit
9cc109c254
@ -158,8 +158,8 @@
|
||||
document.getElementById(element).innerHTML = output;
|
||||
}
|
||||
|
||||
document.getElementById("devicesUrl").onclick = () => {
|
||||
this.select();
|
||||
document.getElementById("devicesUrl").onclick = (e) => {
|
||||
e.target.select();
|
||||
document.execCommand("copy");
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user