Update app.js

master
Andy Smy 2025-05-12 19:44:37 +01:00 committed by GitHub
parent 205fa49d83
commit fe8a013e99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,6 @@ var file = require("Storage").open("matchlog.csv","a");
function newInnings() { function newInnings() {
var timeSig = new Date(); var timeSig = new Date();
if(over!=0) { if(over!=0) {
console.log("New Innings prompt");
E.showPrompt(/*LANG*/"Start next innings?").then(function(confirmed) { E.showPrompt(/*LANG*/"Start next innings?").then(function(confirmed) {
if (confirmed) { if (confirmed) {
Bangle.buzz(); Bangle.buzz();
@ -384,6 +383,7 @@ function newInnings() {
timeCalled = false; timeCalled = false;
addLog(timeSig, oversPerInnings + 1, ballsPerOver, "New Innings", timeSig); addLog(timeSig, oversPerInnings + 1, ballsPerOver, "New Innings", timeSig);
} }
console.log(confirmed);
menu = showMainMenu(); menu = showMainMenu();
}); });
} else { } else {