From 595751d5d440dc8dcdc39b61bef921273e2dc92c Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Sat, 13 Oct 2018 17:31:37 -0600 Subject: [PATCH] Make enter on the login page do things --- html/js/login.js | 7 ------- html/login.html | 26 ++++++++++++++------------ 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/html/js/login.js b/html/js/login.js index 57658e5..0d3a6bd 100644 --- a/html/js/login.js +++ b/html/js/login.js @@ -6,12 +6,5 @@ function processLogin() { window.location.replace(jsconfig.baseurl + "/app/"); }; -function addClickToLogin() { - $("#loginButton").click(processLogin); -}; - // If the login page is displayed, we need to remvoe any existing auth tokens window.localStorage.removeItem("authtoken"); - -// Set the click function for the login button -$(document).ready(addClickToLogin); diff --git a/html/login.html b/html/login.html index 52ab9da..4714c9b 100644 --- a/html/login.html +++ b/html/login.html @@ -18,18 +18,20 @@

Login

-
-
-
Username:
-
+
+
+
+
Username:
+
+
+
+
Password:
+
+
+
+
+
-
-
Password:
-
-
-
-
-
-
+