Update script.js
Diff
script.js | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
@@ -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();
});
});