x
This commit is contained in:
parent
eb9f79d8a7
commit
ecf43500a1
1 changed files with 4 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue