OSDN Git Service

[更新]:マウスでクリックしてロック画面をクリックしたときにフォーカスが自動で当たるようになる修正
[alterlinux/lightdm-webkit2-theme-alter.git] / 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)