reset midPercent in Journal
This commit is contained in:
parent
1128d99bc6
commit
701a1112d4
3 changed files with 4 additions and 1 deletions
|
|
@ -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
|
|
@ -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":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue