faster theme loading
This commit is contained in:
@@ -80,7 +80,7 @@ const instancefetch=fetch("/instances.json")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
setTheme();
|
||||||
await I18n.done
|
await I18n.done
|
||||||
function setTheme(){
|
function setTheme(){
|
||||||
let name = localStorage.getItem("theme");
|
let name = localStorage.getItem("theme");
|
||||||
@@ -107,7 +107,7 @@ function setTheme(){
|
|||||||
noAccount.textContent=I18n.getTranslation("htmlPages.noAccount");
|
noAccount.textContent=I18n.getTranslation("htmlPages.noAccount");
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
setTheme();
|
|
||||||
function getBulkUsers(){
|
function getBulkUsers(){
|
||||||
const json = getBulkInfo();
|
const json = getBulkInfo();
|
||||||
for(const thing in json.users){
|
for(const thing in json.users){
|
||||||
|
Reference in New Issue
Block a user