reset midPercent in Journal

This commit is contained in:
ReznoRMichael 2022-02-19 22:22:22 +01:00
parent 1128d99bc6
commit 701a1112d4
3 changed files with 4 additions and 1 deletions

View file

@ -2181,6 +2181,7 @@ function ResetCompletion(db) {
for (var section in sections) { for (var section in sections) {
entries = sections[section].entries; entries = sections[section].entries;
if (sections[section].hasOwnProperty("percent")) sections[section].percent = 0; if (sections[section].hasOwnProperty("percent")) sections[section].percent = 0;
if (sections[section].hasOwnProperty("midPercent")) sections[section].midPercent = 0;
switch (section) { switch (section) {
case "intro": case "intro":

File diff suppressed because one or more lines are too long

View file

@ -2431,6 +2431,8 @@ function ResetCompletion(db) {
if (sections[section].hasOwnProperty("percent")) sections[section].percent = 0; if (sections[section].hasOwnProperty("percent")) sections[section].percent = 0;
if (sections[section].hasOwnProperty("midPercent")) sections[section].midPercent = 0;
switch (section) { switch (section) {
case "intro": case "intro":
case "hints": case "hints":