From a8f1cccae34fc9fb0f0a039db41c65b95dbf1a02 Mon Sep 17 00:00:00 2001 From: AdrienLSH Date: Mon, 29 Jan 2024 10:19:55 +0100 Subject: [PATCH] ; --- frontend/static/js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/static/js/index.js b/frontend/static/js/index.js index 26584dc..bfa0167 100644 --- a/frontend/static/js/index.js +++ b/frontend/static/js/index.js @@ -19,10 +19,10 @@ import TournamentPageView from "./views/tournament/TournamentPageView.js"; import TournamentsView from "./views/tournament/TournamentsListView.js"; import TournamentCreateView from "./views/tournament/TournamentCreateView.js"; -let client = new Client(location.origin) +let client = new Client(location.origin); -let lastView = undefined -let lastPageUrlBeforeLogin = undefined +let lastView = undefined; +let lastPageUrlBeforeLogin = undefined; const pathToRegex = path => new RegExp("^" + path.replace(/\//g, "\\/").replace(/:\w+/g, "(.+)") + "$");