Fix theme variable handling with invalid values
This commit is contained in:
parent
dae2f6c442
commit
7c895bd8c0
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ let meetApi: any; // JitsiMeetExternalAPI
|
||||||
const theme = qsParam('theme', true);
|
const theme = qsParam('theme', true);
|
||||||
|
|
||||||
if (theme) {
|
if (theme) {
|
||||||
document.body.classList.add(`theme-${theme}`);
|
document.body.classList.add(`theme-${theme.replace(" ", "_")}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set this up as early as possible because Element will be hitting it almost immediately.
|
// Set this up as early as possible because Element will be hitting it almost immediately.
|
||||||
|
|
Loading…
Reference in a new issue