diff --git a/js/course.js b/js/course.js index 3d82a07..7586cc2 100644 --- a/js/course.js +++ b/js/course.js @@ -183,7 +183,7 @@ function saveCourseSettings(skipSavingGradingScale = false) { obj2.hasOwnProperty(key) && obj1[key] === obj2[key] ); - if (!shallowCompare(scale, currentValue[courseIdNumber])) { + if (!currentValue[courseIdNumber] || !shallowCompare(scale, currentValue[courseIdNumber])) { trackEvent("update_setting", { id: "gradingScales", context: "Course Settings", diff --git a/manifest.json b/manifest.json index 827bb35..2d4769e 100644 --- a/manifest.json +++ b/manifest.json @@ -10,7 +10,7 @@ "update_url": "https://schoologypl.us/firefox_updates.json" } }, - "version": "7.7.2", + "version": "7.7.3", "icons": { "128": "imgs/icon@128.png", "64": "imgs/icon@64.png",