mirror of
https://github.com/appen-isen/site-interpromo-2024.git
synced 2026-01-18 16:37:30 +01:00
Fix triple popup
This commit is contained in:
@@ -670,14 +670,8 @@ matchList.forEach(record => {
|
||||
const handleVoteTeam2 = () => handleVote(record.id, 'team2', progressTeam1, progressTeam2);
|
||||
|
||||
voteTeam1Button.addEventListener('click', handleVoteTeam1);
|
||||
voteTeam1Button.addEventListener('touchstart', handleVoteTeam1);
|
||||
voteTeam1Button.addEventListener('touchend', handleVoteTeam1);
|
||||
voteTeam1Button.addEventListener('touchmove', handleVoteTeam1);
|
||||
|
||||
voteTeam2Button.addEventListener('click', handleVoteTeam2);
|
||||
voteTeam2Button.addEventListener('touchstart', handleVoteTeam2);
|
||||
voteTeam2Button.addEventListener('touchend', handleVoteTeam2);
|
||||
voteTeam2Button.addEventListener('touchmove', handleVoteTeam2);
|
||||
});
|
||||
|
||||
// Function to handle voting
|
||||
|
||||
Reference in New Issue
Block a user