Update settings.js

master
Andy Smy 2025-05-08 23:59:44 +01:00 committed by GitHub
parent c958ad4ae7
commit 7402e80119
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
"" : { "title" : "Umpire Ball Counter" }, "" : { "title" : "Umpire Ball Counter" },
"< Back" : () => back(), "< Back" : () => back(),
'Balls per over': { 'Balls per over': {
value: 0|settings.ballsPerOver, // 0| converts undefined to 0 value: settings.ballsPerOver,
min: 4, max: 10, min: 4, max: 10,
onchange: v => { onchange: v => {
settings.ballsPerOver = v; settings.ballsPerOver = v;