summaryrefslogtreecommitdiffstats
path: root/assets/js/teachers.js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-05-17 22:29:59 +0200
committersijanec <sijanecantonluka@gmail.com>2020-05-17 22:29:59 +0200
commitfb3562344b75865754e3da52fa0c053e493b69af (patch)
tree48d53e317e86813021d5cf1af2ea85d03d8fa068 /assets/js/teachers.js
parentCSS (diff)
parentBug fix attempt (diff)
downloadbeziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.gz
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.bz2
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.lz
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.xz
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.tar.zst
beziapp-fb3562344b75865754e3da52fa0c053e493b69af.zip
Diffstat (limited to 'assets/js/teachers.js')
-rw-r--r--assets/js/teachers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/teachers.js b/assets/js/teachers.js
index da0a62d..da83c06 100644
--- a/assets/js/teachers.js
+++ b/assets/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);