Update app.js

pull/1831/head
JuliusS123 2022-05-15 14:26:51 +02:00 committed by GitHub
parent 27d6303783
commit 60f4cd8f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -67,11 +67,11 @@ function checkUnfinishedHomeworkAssembler() {
var hwcount = Object.keys(homework.homework).length;
mainCheckHomeworkMenu = {
'': {
'title': 'Archived HW:'
'title': 'Unfinished HW:'
}
};
// This code snippet gets the unfinished HW and puts it in mainCheckHomeworkMenu
// btw mainCheckHomeworkMenu displays all the homework, when tapping on it you get more details with checkPreciseHomework function
// btw mainCheckHomeworkMenu displays all the homework, when tapping on it you get more details with checkPreciseHomework function
for (var i = 0; i < hwcount; ++i) {
if (homework.homework[i].done === false) {
var currentsubject = i; //attempting to pass i
@ -95,7 +95,7 @@ function checkFinishedHomeworkAssembler() {
var hwcount = Object.keys(homework.homework).length;
mainCheckHomeworkMenu = {
'': {
'title': 'Unfinished HW:'
'title': 'Archived HW:'
}
};