From 7b0e9737328c2dc5a0ff1bd063cd7818706256c3 Mon Sep 17 00:00:00 2001 From: rstular Date: Sun, 17 May 2020 22:22:22 +0200 Subject: Bug fix attempt --- assets/js/gradings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/js/gradings.js') diff --git a/assets/js/gradings.js b/assets/js/gradings.js index 33fda47..b5bf7b5 100644 --- a/assets/js/gradings.js +++ b/assets/js/gradings.js @@ -88,7 +88,7 @@ async function loadGradings(force_refresh = false) { }) ]; await Promise.all(promises_to_run); - if (gradings === null || gradings === [] || gradings === -1 || force_refresh) { + if (gradings == null || gradings == [] || gradings == -1 || force_refresh) { try { let gsecInstance = new gsec(); await gsecInstance.login(username, password); -- cgit v1.2.3