feat: Update UI to make it easier to understand
All checks were successful
Build Docker / Build Image (push) Successful in 21s
All checks were successful
Build Docker / Build Image (push) Successful in 21s
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user