Re-enable theme setting at startup
This commit is contained in:
parent
2f51f6efd6
commit
01f9e48b79
|
@ -281,7 +281,7 @@ async function loadApp() {
|
||||||
|
|
||||||
// as quickly as we possibly can, set a default theme...
|
// as quickly as we possibly can, set a default theme...
|
||||||
let a;
|
let a;
|
||||||
const theme = "dharma";//SettingsStore.getValue("theme");
|
const theme = SettingsStore.getValue("theme");
|
||||||
for (let i = 0; (a = document.getElementsByTagName("link")[i]); i++) {
|
for (let i = 0; (a = document.getElementsByTagName("link")[i]); i++) {
|
||||||
const href = a.getAttribute("href");
|
const href = a.getAttribute("href");
|
||||||
if (!href) continue;
|
if (!href) continue;
|
||||||
|
|
Loading…
Reference in New Issue