Skip to content

Fix Jitsi regressions with custom themes - #15575

Merged
t3chguy merged 2 commits into
developfrom
t3chguy/fix/jitsi
Oct 27, 2020
Merged

Fix Jitsi regressions with custom themes#15575
t3chguy merged 2 commits into
developfrom
t3chguy/fix/jitsi

Conversation

@t3chguy

@t3chguy t3chguy commented Oct 27, 2020

Copy link
Copy Markdown
Member

Fixes #15571

@t3chguy
t3chguy requested a review from a team October 27, 2020 11:27
Comment thread src/vector/jitsi/index.ts

if (theme) {
document.body.classList.add(`theme-${theme}`);
document.body.classList.add(`theme-${theme.replace(" ", "_")}`);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't the React side change mean there aren't spaces in the theme name any more...? Or is this meant as an extra precaution?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra precaution, better than it exploding

@t3chguy
t3chguy merged commit dda3779 into develop Oct 27, 2020
@t3chguy
t3chguy deleted the t3chguy/fix/jitsi branch October 27, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jitsi widget broken with custom themes which contain spaces

2 participants