feat: Update UI to make it easier to understand
All checks were successful
Build Docker / Build Image (push) Successful in 21s

This commit is contained in:
2024-02-25 23:24:30 +11:00
parent 71fff60b08
commit 28e11e2596
4 changed files with 37 additions and 23 deletions

View File

@@ -121,8 +121,8 @@ document.addEventListener('DOMContentLoaded', async function() {
}
}
}
if (total !== 100) {
alert('Votes must total 100');
if (total > 100) {
alert('Votes must be less than or equal to 100');
return;
}
const vote = JSON.stringify(options);