remove warning temporarily
it caused a major bug :( calculate class grades is still there, though
diff --git a/init.js b/init.js
index dd59f1a..0d7f77a 100644
--- a/init.js
+++ b/init.js
@@ -1503,7 +1503,7 @@
dtps.showClasses(true);
})
- document.addEventListener("pref-calcGrades", function (e) {
+ /*document.addEventListener("pref-calcGrades", function (e) {
if (String(e.detail) == "true") {
swal({ title: 'Calculate Class Grades (beta)', text: 'GRADES CALCULATED IN POWER+ ARE NOT YOUR OFFICIAL CLASS GRADES. THIS FEATURE IS STILL DEVELOPMENT AND MAY DISPLAY AN INACCURATE CLASS GRADE. USE AT YOUR OWN RISK.', buttons: true, dangerMode: true, icon: "warning" }).then((enable) => {
if (enable) {
@@ -1514,7 +1514,7 @@
}
});
}
- })
+ })*/
$("body").addClass("dashboard");
if (!dtps.currentClass) {