summaryrefslogtreecommitdiff
path: root/app/bits/static/load.js
blob: c74865633dc9b31ae0716d1f76d8d963080d1550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
appLoading = true;

window.onload = async () => {
    try {
        document.getElementById("loader-text").innerText = "Loading...";
        updateLoader();

        await plural();
        await refresh();
        appLoading = false;
    } catch (e) {
        document.getElementById("loadfailure").style.display = "";
    }
}

function updateLoader() {}