This commit is contained in:
Omar Najjar 2025-04-13 01:54:12 +10:00
parent eb9f79d8a7
commit ecf43500a1

View file

@ -1326,7 +1326,7 @@ uploadIcon.style.marginRight = '8px';
// Refresh proposals // Refresh proposals
fetchProposals(); fetchProposals();
} else { } else {
// Upload failed // Upload failed
memeUpload.progress.style.display = 'none'; memeUpload.progress.style.display = 'none';
console.error('Meme upload failed:', xhr.responseText); console.error('Meme upload failed:', xhr.responseText);
showToastMessage('Failed to upload meme. Please try again.', '#ff0099'); showToastMessage('Failed to upload meme. Please try again.', '#ff0099');
@ -1364,6 +1364,9 @@ uploadIcon.style.marginRight = '8px';
postButton.innerHTML = 'Launch Rebellion'; postButton.innerHTML = 'Launch Rebellion';
} }
}); });
}
}
// Display the modal for petition verification // Display the modal for petition verification
function showVerificationModal(proposalId) { function showVerificationModal(proposalId) {