faster theme loading
This commit is contained in:
parent
ff443ea1f0
commit
2c398bbd8d
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ const instancefetch=fetch("/instances.json")
|
|||
}
|
||||
}
|
||||
);
|
||||
|
||||
setTheme();
|
||||
await I18n.done
|
||||
function setTheme(){
|
||||
let name = localStorage.getItem("theme");
|
||||
|
@ -107,7 +107,7 @@ function setTheme(){
|
|||
noAccount.textContent=I18n.getTranslation("htmlPages.noAccount");
|
||||
}
|
||||
})()
|
||||
setTheme();
|
||||
|
||||
function getBulkUsers(){
|
||||
const json = getBulkInfo();
|
||||
for(const thing in json.users){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue