reset seconds to subtract appropriately

practiced-songs
Matt Huntington 2 years ago
parent cd847bb90e
commit 1def5795ca

@ -68,6 +68,7 @@
this.totalSeconds = 0;
this.savedPreviousSeconds = 0;
this.comments = null;
this.secondsToSubtract = 0;
});
},
@ -109,6 +110,7 @@
setSecondsManually(){
this.totalSeconds = this.manualHours*60*60 + this.manualMinutes*60 + this.manualSeconds;
this.savedPreviousSeconds = this.totalSeconds;
this.secondsToSubtract = 0;
window.localStorage.setItem('lastTotalSeconds', this.totalSeconds);
}
},

Loading…
Cancel
Save