diff --git a/front/static/dashboard.html b/front/static/dashboard.html index 576c68a..5a14f52 100644 --- a/front/static/dashboard.html +++ b/front/static/dashboard.html @@ -7,7 +7,7 @@ - + Reimbursinator diff --git a/front/static/index.html b/front/static/index.html index ff26455..dac766d 100644 --- a/front/static/index.html +++ b/front/static/index.html @@ -7,7 +7,7 @@ - + Reimbursinator diff --git a/front/static/js/logout.js b/front/static/js/logout.js index e7a3a21..4cdc571 100644 --- a/front/static/js/logout.js +++ b/front/static/js/logout.js @@ -29,6 +29,5 @@ function postToLogoutEndpoint(event) { xhr.send(); } -const logoutLinks = document.querySelectorAll(".log-out-link"); -logoutLinks[0].addEventListener("click", postToLogoutEndpoint); -logoutLinks[1].addEventListener("click", postToLogoutEndpoint); +const logoutLink = document.querySelector(".log-out-link"); +logoutLink.addEventListener("click", postToLogoutEndpoint); diff --git a/front/static/login.html b/front/static/login.html index a476dc9..5e691ae 100644 --- a/front/static/login.html +++ b/front/static/login.html @@ -7,7 +7,7 @@ - + Log in @@ -42,6 +42,6 @@

- + diff --git a/front/static/signup.html b/front/static/signup.html index 8bec9e3..f0c288e 100644 --- a/front/static/signup.html +++ b/front/static/signup.html @@ -7,7 +7,7 @@ - + Sign up @@ -36,4 +36,4 @@ - \ No newline at end of file +