summaryrefslogtreecommitdiffstats
path: root/assets/js/absences.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/absences.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/absences.js')
-rw-r--r--assets/js/absences.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/absences.js b/assets/js/absences.js
index 2ed5fe8..5fbc622 100644
--- a/assets/js/absences.js
+++ b/assets/js/absences.js
@@ -49,7 +49,7 @@ async function loadAbsences(forceRefresh = false) {
];
await Promise.all(promisesToRun);
// If we don't have a list of absences, query it
- if (absences === null || absences === {} || forceRefresh) {
+ if (absences == null || absences == {} || forceRefresh) {
try {
let gsecInstance = new gsec();
await gsecInstance.login(username, password);