From 01f9eef0a5b397c12f3eee9c801167f851d77251 Mon Sep 17 00:00:00 2001 From: rstular Date: Wed, 20 May 2020 11:14:52 +0200 Subject: CSS fixes --- dist/js/meals.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dist/js/meals.js') diff --git a/dist/js/meals.js b/dist/js/meals.js index e9b3af8..78de032 100644 --- a/dist/js/meals.js +++ b/dist/js/meals.js @@ -4,10 +4,10 @@ async function checkLogin() { localforage.getItem("logged_in_lopolis").then((value) => { if (value != true) { $("#meals-container").hide(); - $("#meals-login").show(); + $("#meals-login-container").show(); } else { $("#meals-container").show(); - $("#meals-login").hide(); + $("#meals-login-container").hide(); loadMeals(); } }).catch((err) => { @@ -240,8 +240,8 @@ function lopolisLogout() { async function lopolisLogin() { setLoading(true); - var usernameEl = $("#meals_username"); - var passwordEl = $("#meals_password"); + var usernameEl = $("#meals-username"); + var passwordEl = $("#meals-password"); $.ajax({ url: API_ENDPOINT+"gettoken", crossDomain: true, -- cgit v1.2.3