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">
|
<div class="main">
|
||||||
<form id="mask-form"
|
<form id="mask-form"
|
||||||
hx-get="/mask"
|
hx-get="/mask"
|
||||||
|
hx-on:htmx:load="window.getSelection().selectAllChildren(event.target);document.execCommand('copy');"
|
||||||
hx-swap="innerHTML">
|
hx-swap="innerHTML">
|
||||||
<input type="text"
|
<input type="text"
|
||||||
name="description"
|
name="description"
|
||||||
|
|
@ -136,4 +137,5 @@
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Loading…
Add table
Reference in a new issue