add fixme

This commit is contained in:
Matthew Hodgson 2017-11-14 15:17:32 +00:00
parent a7a9433ef9
commit 69b8ff8668
1 changed files with 5 additions and 1 deletions

View File

@ -310,7 +310,11 @@ async function loadApp() {
a.removeAttribute("disabled");
// 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 = () => {
Tinter.setTheme(theme);
Tinter.tint();