This commit is contained in:
2021-04-17 13:39:45 +02:00
parent 620db83def
commit 8e6b0d3687
4 changed files with 24 additions and 11 deletions

View File

@ -3,7 +3,7 @@ window.addEventListener('DOMContentLoaded', () => {
for (const el of document.querySelectorAll('.option input[type=checkbox], .option input[type=radio]')) {
el.onclick = updateVotesRemaining;
}
const banner = document.querySelector('.success-banner');
const banner = document.querySelector('.banner');
if (banner) {
banner.onclick = hideBanner;
}