forked from matrix/element-web
Merge pull request #7540 from vector-im/bwindels/alwaysshowdharma
Redesign: ignore setting and always show dharma theme for now
This commit is contained in:
commit
ffc0d3cda0
|
@ -271,7 +271,7 @@ async function loadApp() {
|
||||||
// as quickly as we possibly can, set a default theme...
|
// as quickly as we possibly can, set a default theme...
|
||||||
const styleElements = Object.create(null);
|
const styleElements = Object.create(null);
|
||||||
let a;
|
let a;
|
||||||
const theme = SettingsStore.getValue("theme");
|
const theme = "dharma";//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