mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
Pull the theme through the default chain
This is so the `config` level is respected. Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
1ab5ff079c
commit
67ca1515d8
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ async function loadApp() {
|
|||
// as quickly as we possibly can, set a default theme...
|
||||
const styleElements = Object.create(null);
|
||||
let a;
|
||||
const theme = SettingsStore.getValueAt(SettingLevel.DEFAULT, "theme");
|
||||
const theme = SettingsStore.getValue("theme");
|
||||
for (let i = 0; (a = document.getElementsByTagName("link")[i]); i++) {
|
||||
const href = a.getAttribute("href");
|
||||
if (!href) continue;
|
||||
|
|
Loading…
Reference in a new issue