summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-04-27 20:23:20 +0300
committerMaxim Devaev <[email protected]>2023-04-27 20:23:20 +0300
commit3170dcdb575124a6867381b09af6a2a18a6b1278 (patch)
treec1d562ec397de6ee554d5b647687a0e5b94972fb /web/kvm
parent70e89f5e0491a96ba51be927dc76c81cfdf28dee (diff)
web: focus on text area after opening pak menu
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html2
-rw-r--r--web/kvm/navbar-text.pug2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index e76b7c63..b1abd526 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -637,7 +637,7 @@
<div class="text"><b>Paste text as keypress sequence<br></b><sub>Please note that PiKVM cannot switch the keyboard layout</sub></div>
<hr>
<div class="text" style="margin-right: 20px">
- <textarea id="hid-pak-text" placeholder="Enter your text here"></textarea>
+ <textarea id="hid-pak-text" data-focus placeholder="Enter your text here"></textarea>
</div>
<table class="kv">
<tr>
diff --git a/web/kvm/navbar-text.pug b/web/kvm/navbar-text.pug
index 6ae9c810..1c68da40 100644
--- a/web/kvm/navbar-text.pug
+++ b/web/kvm/navbar-text.pug
@@ -8,7 +8,7 @@ li(id="text-dropdown" class="right")
sub Please note that PiKVM cannot switch the keyboard layout
hr
div(class="text" style="margin-right: 20px")
- textarea(id="hid-pak-text" placeholder="Enter your text here")
+ textarea(id="hid-pak-text" data-focus placeholder="Enter your text here")
table(class="kv")
tr
td