Update app.js
parent
205fa49d83
commit
fe8a013e99
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue