From 6945485499691b9e82138cb1171b55c763785da2 Mon Sep 17 00:00:00 2001 From: Nemo <commits@captnemo.in> Date: Mon, 26 Aug 2024 10:58:38 +0530 Subject: [PATCH] Update script.js --- script.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/script.js b/script.js index 63903c1..ead181b 100644 --- a/script.js +++ a/script.js @@ -97,18 +97,6 @@ return JSON.stringify(votes); } -fetch('/talks.json') - .then(response => response.json()) - .then(data => { - talks = data; - shuffleArray(talks); - const container = document.getElementById('cards-container'); - talks.forEach(talk => { - container.appendChild(createCard(talk)); - }); - }); - - let visibleCardIndex = 0; function updateScrollMeter() { @@ -146,4 +134,4 @@ }); updateScrollMeter(); updatePointsLeft(); - });+ }); -- rgit 0.1.5