summaryrefslogtreecommitdiffstats
path: root/dist/js/teachers.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dist/js/teachers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/teachers.js b/dist/js/teachers.js
index da0a62d..da83c06 100644
--- a/dist/js/teachers.js
+++ b/dist/js/teachers.js
@@ -29,7 +29,7 @@ async function loadTeachers(force_refresh = false) {
];
await Promise.all(promises_to_run);
// If we don't have a list of teachers, query it
- if (teachers === null || teachers === [] || force_refresh) {
+ if (teachers == null || teachers == [] || force_refresh) {
try {
let gsecInstance = new gsec();
await gsecInstance.login(username, password);