mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 19:13:51 +03:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
2893cee685
1 changed files with 1 additions and 0 deletions
|
@ -302,6 +302,7 @@ async function loadApp() {
|
|||
const theme = configJson.default_theme || 'light';
|
||||
for (let i = 0; (a = document.getElementsByTagName("link")[i]); i++) {
|
||||
const href = a.getAttribute("href");
|
||||
if (!href) continue;
|
||||
// shouldn't we be using the 'title' tag rather than the href?
|
||||
const match = href.match(/^bundles\/.*\/theme-(.*)\.css$/);
|
||||
if (match) {
|
||||
|
|
Loading…
Reference in a new issue