diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2023-02-05 20:43:17 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2023-02-05 20:43:17 +0200 |
commit | 209b1915b0f1879d0055ea17f76464dddcf8089b (patch) | |
tree | a7b4077a0c239dba3f0e40b6463e2fb368b65eb3 /rannak/mangud/kaitseliitlane/salakood/script.js | |
parent | ea90f1c8a5fb5b666113ee21f81a5530127a0517 (diff) |
Hinnad mäng for Arimees + fonts
Diffstat (limited to 'rannak/mangud/kaitseliitlane/salakood/script.js')
-rw-r--r-- | rannak/mangud/kaitseliitlane/salakood/script.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rannak/mangud/kaitseliitlane/salakood/script.js b/rannak/mangud/kaitseliitlane/salakood/script.js index 1945187..5925a0b 100644 --- a/rannak/mangud/kaitseliitlane/salakood/script.js +++ b/rannak/mangud/kaitseliitlane/salakood/script.js @@ -31,6 +31,11 @@ function clickEventAdder(){ if (node != curNode && node.classList.contains("selected")) node.classList.remove("selected"); } + + // Bring cursor to input + document.querySelector("input").focus(); + document.querySelector("input").select(); + }); } // outerFor |