From 7b0e9737328c2dc5a0ff1bd063cd7818706256c3 Mon Sep 17 00:00:00 2001 From: rstular Date: Sun, 17 May 2020 22:22:22 +0200 Subject: Bug fix attempt --- dist/js/teachers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/js/teachers.js') 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); -- cgit v1.2.3