auto select and copy email
This commit is contained in:
parent
9bc4a73345
commit
d84ab59589
1 changed files with 2 additions and 0 deletions
|
|
@ -115,6 +115,7 @@
|
|||
<div class="main">
|
||||
<form id="mask-form"
|
||||
hx-get="/mask"
|
||||
hx-on:htmx:load="window.getSelection().selectAllChildren(event.target);document.execCommand('copy');"
|
||||
hx-swap="innerHTML">
|
||||
<input type="text"
|
||||
name="description"
|
||||
|
|
@ -136,4 +137,5 @@
|
|||
</div>
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Reference in a new issue