Skip to content

Commit

Permalink
Merge pull request #269 from aopell/develop
Browse files Browse the repository at this point in the history
Version 7.3.3
  • Loading branch information
aopell authored Nov 1, 2021
2 parents 3538c2d + 8253815 commit 347b3be
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions js/grades.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"id": "[email protected]"
}
},
"version": "7.3.2",
"version": "7.3.3",
"icons": {
"128": "imgs/[email protected]",
"64": "imgs/[email protected]",
Expand Down

0 comments on commit 347b3be

Please sign in to comment.