mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
click() instead __login()
This commit is contained in:
parent
4fb188b93e
commit
94050d5a49
@ -8,7 +8,7 @@ function main() {
|
|||||||
$("user-input").onkeyup = $("passwd-input").onkeyup = function(event) {
|
$("user-input").onkeyup = $("passwd-input").onkeyup = function(event) {
|
||||||
if (event.code === "Enter") {
|
if (event.code === "Enter") {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
__login();
|
$("login-button").click();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user