mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
syntax fix
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user