mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
syntax fix
This commit is contained in:
parent
18842fdd35
commit
68c21d0ccd
@ -6,7 +6,7 @@ function main() {
|
||||
|
||||
tools.setOnClick($("login-button"), __login);
|
||||
$("user-input").onkeyup = $("passwd-input").onkeyup = function(event) {
|
||||
if (event.code == "Enter") {
|
||||
if (event.code === "Enter") {
|
||||
event.preventDefault();
|
||||
__login();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user