Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Jitsi regressions with custom themes #15575

Merged
merged 2 commits into from
Oct 27, 2020
Merged

Fix Jitsi regressions with custom themes #15575

merged 2 commits into from
Oct 27, 2020

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Oct 27, 2020

Fixes #15571

@t3chguy t3chguy requested a review from a team October 27, 2020 11:27
@@ -70,7 +70,7 @@ let meetApi: any; // JitsiMeetExternalAPI
const theme = qsParam('theme', true);

if (theme) {
document.body.classList.add(`theme-${theme}`);
document.body.classList.add(`theme-${theme.replace(" ", "_")}`);
Copy link
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
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