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 @@