admin panel version update

This commit is contained in:
2021-01-07 17:11:23 +01:00
parent e046ea7ed9
commit 61cebd4052
5 changed files with 9 additions and 17 deletions

View File

@@ -27,8 +27,8 @@ $(document).ready(function () {
}
// Login
$("#username").keypress(function (e) { if(e.which == 13) $("#password").focus(); });
$("#password").keypress(function (e) { if(e.which == 13) $("#btnLogin").click(); });
$("#username").keypress(function (e) { if(e.which === 13) $("#password").focus(); });
$("#password").keypress(function (e) { if(e.which === 13) $("#btnLogin").click(); });
$("#btnLogin").click(function() {
const username = $("#username").val();
const password = $("#password").val();

2
js/admin.min.js vendored
View File

File diff suppressed because one or more lines are too long