mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
a22cd487a0
@ -310,7 +310,11 @@ async function loadApp() {
|
|||||||
a.removeAttribute("disabled");
|
a.removeAttribute("disabled");
|
||||||
|
|
||||||
// in case the Tinter.tint() in MatrixChat fires before the
|
// in case the Tinter.tint() in MatrixChat fires before the
|
||||||
// CSS has actually loaded (which in practice happens)
|
// CSS has actually loaded (which in practice happens)...
|
||||||
|
|
||||||
|
// FIXME: we should probably block loading the app or even
|
||||||
|
// showing a spinner until the theme is loaded, to avoid
|
||||||
|
// flashes of unstyled content.
|
||||||
a.onload = () => {
|
a.onload = () => {
|
||||||
Tinter.setTheme(theme);
|
Tinter.setTheme(theme);
|
||||||
Tinter.tint();
|
Tinter.tint();
|
||||||
|
Loading…
Reference in New Issue
Block a user