summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-25 00:07:33 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-25 00:07:33 +0100
commitb09446afa1f077d1bef93e5680e12ad4af12151a (patch)
tree11c886054169a46e85ea35b40559b181c6644cb7
parentfancy toast error messages (diff)
downloadbeziapp-b09446afa1f077d1bef93e5680e12ad4af12151a.tar
beziapp-b09446afa1f077d1bef93e5680e12ad4af12151a.tar.gz
beziapp-b09446afa1f077d1bef93e5680e12ad4af12151a.tar.bz2
beziapp-b09446afa1f077d1bef93e5680e12ad4af12151a.tar.lz
beziapp-b09446afa1f077d1bef93e5680e12ad4af12151a.tar.xz
beziapp-b09446afa1f077d1bef93e5680e12ad4af12151a.tar.zst
beziapp-b09446afa1f077d1bef93e5680e12ad4af12151a.zip
Diffstat (limited to '')
-rw-r--r--js/meals.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/meals.js b/js/meals.js
index 09cb762..622e47f 100644
--- a/js/meals.js
+++ b/js/meals.js
@@ -10,6 +10,7 @@ async function checkLogin() {
} else {
document.getElementById("meals-container").hidden = false;
document.getElementById("meals-login").hidden = true;
+ await loadMeals();
}
}).catch((err) => {
console.log(err);
@@ -361,5 +362,4 @@ document.addEventListener("DOMContentLoaded", async () => {
// Setup side modal
const modals = document.querySelectorAll('.side-modal');
M.Sidenav.init(modals, { edge: 'left', draggable: false });
- await loadMeals();
});