summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-02-05 11:09:40 +0100
committerrstular <rok@stular.eu>2020-02-05 11:09:40 +0100
commit80fabd063f3bf05abafe2d91f37b10778db1b1f1 (patch)
tree07a81116d656f96b88e7ff374d0faff5fbaa2947
parentUpdated changelog (diff)
downloadbeziapp-80fabd063f3bf05abafe2d91f37b10778db1b1f1.tar
beziapp-80fabd063f3bf05abafe2d91f37b10778db1b1f1.tar.gz
beziapp-80fabd063f3bf05abafe2d91f37b10778db1b1f1.tar.bz2
beziapp-80fabd063f3bf05abafe2d91f37b10778db1b1f1.tar.lz
beziapp-80fabd063f3bf05abafe2d91f37b10778db1b1f1.tar.xz
beziapp-80fabd063f3bf05abafe2d91f37b10778db1b1f1.tar.zst
beziapp-80fabd063f3bf05abafe2d91f37b10778db1b1f1.zip
Diffstat (limited to '')
-rw-r--r--js/gradings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/gradings.js b/js/gradings.js
index 1109961..0b8b53b 100644
--- a/js/gradings.js
+++ b/js/gradings.js
@@ -93,7 +93,7 @@ async function loadGradings(force_refresh = false) {
Promise.all(promises_to_run).then(() => {
- if (gradings === null || force_refresh) {
+ if (gradings === null || gradings === [] || gradings === -1 || force_refresh) {
$.ajax({
url: API_ENDPOINT,
crossDomain: true,