OSDN Git Service

[更新]:マウスでクリックしてロック画面をクリックしたときにフォーカスが自動で当たるようになる修正
authornaoko1010hh <naoko561010@gmail.com>
Mon, 2 Mar 2020 12:32:54 +0000 (21:32 +0900)
committernaoko1010hh <naoko561010@gmail.com>
Mon, 2 Mar 2020 12:32:54 +0000 (21:32 +0900)
js/splashscreen.js

index 73cd4cb..1142933 100644 (file)
@@ -182,6 +182,7 @@ class SplashScreen {
     front end to implement spcific behaivours while the user is active */
     this.$el.click(() => {
       this._open();
+      document.getElementById("inputPassword").focus();
     }).mousemove((e) => {
       if (!this._isActive())
       $(this).trigger("active", e)