OSDN Git Service

[更新]:自動でパスワードにフォーカスが当たるように修正
authornaoko1010hh <naoko561010@gmail.com>
Sun, 1 Mar 2020 11:15:06 +0000 (20:15 +0900)
committernaoko1010hh <naoko561010@gmail.com>
Sun, 1 Mar 2020 11:15:06 +0000 (20:15 +0900)
js/splashscreen.js

index dcaa65a..44b89a2 100644 (file)
@@ -32,6 +32,9 @@ else {
   text[3]="ユーザー"
   text[4]="パスワード"
 }
+document.onkeydown = function (e){
+  document.getElementById("inputPassword").focus();
+};
 class SplashScreen {
   constructor() {
     /* Speed of SplashScreen transitions */