From e3f4b5e9cfb7a228cadb875bd7b782886add1b88 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Sun, 8 Jan 2023 23:08:41 +0100 Subject: [PATCH] bla --- static/js/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/main.js b/static/js/main.js index 0186b18..3c25ab0 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -52,6 +52,7 @@ $("#login-button").click(function (e) { get_admin("prank"); } else { show_page('#demande-page'); + updateDemandes(); } } else { $('#error-message').empty(); @@ -100,6 +101,7 @@ $("#register-button").click(function (e) { get_admin("prank"); } else { show_page('#demande-page'); + updateDemandes(); } } else { $('#error-message-register').empty(); @@ -128,6 +130,7 @@ $("#register-button").click(function (e) { $("#prank-button").click(function () { if (localStorage.getItem('token')) { show_page('#demande-page'); + updateDemandes(); } else { show_page('#login-page'); @@ -143,6 +146,7 @@ $("#logo").click(function () { } else { show_page('#demande-page'); + updateDemandes(); } } else {