Merge branch 'master' of https://github.com/jottocraft/dtps
diff --git a/dtps.css b/dtps.css
index 5d36590..38e2572 100644
--- a/dtps.css
+++ b/dtps.css
@@ -437,6 +437,7 @@
font-size: 14px;
height: 20px;
line-height: 20px;
+ color: var(--lightText);
}
.infoChip:nth-child(1) {
diff --git a/init.js b/init.js
index 941f79c..ae863d5 100644
--- a/init.js
+++ b/init.js
@@ -9,7 +9,11 @@
const DTPS_ROOT_URL = "https://powerplus.app/";
if (window.location.hostname == "dtechhs.instructure.com") {
+ //Load Design Tech High School script
jQuery.getScript(DTPS_ROOT_URL + "/scripts/lms/dtech.js");
+} else if (window.location.hostname.endsWith("instructure.com")) {
+ //Load Canvas LMS script
+ jQuery.getScript(DTPS_ROOT_URL + "/scripts/lms/canvas.js");
} else {
throw "Error: Invalid domain";
}
\ No newline at end of file