summaryrefslogtreecommitdiffstats
path: root/dist/js/teachers.js
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-05-17 22:22:22 +0200
committerrstular <rok@stular.eu>2020-05-17 22:28:02 +0200
commit7b0e9737328c2dc5a0ff1bd063cd7818706256c3 (patch)
tree168a4db2131a5125cc031659b6ce80810b10c0f9 /dist/js/teachers.js
parentstyling changes (diff)
downloadbeziapp-7b0e9737328c2dc5a0ff1bd063cd7818706256c3.tar
beziapp-7b0e9737328c2dc5a0ff1bd063cd7818706256c3.tar.gz
beziapp-7b0e9737328c2dc5a0ff1bd063cd7818706256c3.tar.bz2
beziapp-7b0e9737328c2dc5a0ff1bd063cd7818706256c3.tar.lz
beziapp-7b0e9737328c2dc5a0ff1bd063cd7818706256c3.tar.xz
beziapp-7b0e9737328c2dc5a0ff1bd063cd7818706256c3.tar.zst
beziapp-7b0e9737328c2dc5a0ff1bd063cd7818706256c3.zip
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);