OSDN Git Service
(root)
/
alterlinux
/
lightdm-webkit2-theme-alter.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[更新]:コントロール+Aで全選択&途中入力ごescしたあとに再度入力しようとしたときに全選択するように修正
[alterlinux/lightdm-webkit2-theme-alter.git]
/
js
/
splashscreen.js
diff --git
a/js/splashscreen.js
b/js/splashscreen.js
index
46ab69d
..
5e1cd69
100644
(file)
--- a/
js/splashscreen.js
+++ b/
js/splashscreen.js
@@
-359,6
+359,7
@@
class SplashScreen {
case 13: // Enter key
if (this._state == "closed")
document.getElementById("inputPassword").focus();
case 13: // Enter key
if (this._state == "closed")
document.getElementById("inputPassword").focus();
+ $('#inputPassword').select();
this._open();
break;
case 27: // ESC key
this._open();
break;
case 27: // ESC key
@@
-369,6
+370,7
@@
class SplashScreen {
this._close();}
else if (this._state == "closed"){
document.getElementById("inputPassword").focus();
this._close();}
else if (this._state == "closed"){
document.getElementById("inputPassword").focus();
+ $('#inputPassword').select();
this._open();}
break;
default:
this._open();}
break;
default: