From 9784e9679cfd97be50ab963f6f5c2f41b59420b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Thu, 14 Nov 2024 18:45:34 +0100 Subject: [PATCH] =?UTF-8?q?WOLOLO=20=C3=A7a=20passe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Front/js/backend/match.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Front/js/backend/match.js b/Front/js/backend/match.js index 9d7eb26..fced459 100644 --- a/Front/js/backend/match.js +++ b/Front/js/backend/match.js @@ -1,6 +1,8 @@ console.log("Backend match start loading..."); import pb from './login.js' +pb.autoCancellation(false); + let matchList = await pb.collection('match').getFullList({ sort: '+heure_debut', expand: 'team1,team2,sport', @@ -657,7 +659,6 @@ if (window.location.href.includes("index.html") || window.location.href === "htt //alert("Bonjour Madame Daniau"); } -// Add event listeners for voting buttons // Add event listeners for voting buttons matchList.forEach(record => { const voteTeam1Button = document.getElementById(`voteTeam1${record.id}`);