diff --git a/js/grades.js b/js/grades.js index b0d67ab..7036ecc 100644 --- a/js/grades.js +++ b/js/grades.js @@ -505,14 +505,6 @@ var fetchQueue = []; } if (!document.location.search.includes("past") || document.location.search.split("past=")[1] != 1) { - if (Setting.getValue("orderClasses") == "period") { - for (let course of coursesByPeriod) { - if (course) { - course.parentElement.appendChild(course); - } - } - } - let timeRow = document.getElementById("past-selector"); let gradeModifLabelFirst = true; if (timeRow == null) { @@ -999,6 +991,16 @@ var fetchQueue = []; await courseTask; } + if (!document.location.search.includes("past") || document.location.search.split("past=")[1] != 1) { + if (Setting.getValue("orderClasses") == "period") { + for (let course of coursesByPeriod) { + if (course) { + course.parentElement.appendChild(course); + } + } + } + } + function getLetterGrade(gradingScale, percentage) { let sorted = Object.keys(gradingScale).sort((a, b) => b - a); for (let s of sorted) { diff --git a/manifest.json b/manifest.json index 5f02aca..5330451 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ "id": "schoology.plus@aopell.me" } }, - "version": "7.3.2", + "version": "7.3.3", "icons": { "128": "imgs/icon@128.png", "64": "imgs/icon@64.png",