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(site-header): fix close button - FRONT-4018 #2981

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

emeryro
Copy link
Contributor

@emeryro emeryro commented Aug 3, 2023

Second attempt to fix language switcher close button when there is no EU languages

@github-actions
Copy link

github-actions bot commented Aug 3, 2023

@github-actions github-actions bot temporarily deployed to pull request August 3, 2023 09:48 Inactive
this.languageListEu.parentNode.classList.remove(
'ecl-site-header__language-content--stack',
);
if (this.languageListEu) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

not easy to understand the relation between this selector and the close button, guess that it was not working because a js error thrown by these "lines", and i don't see any error regardless of the number, or the presence of the two lists, so...good as it is! :)

@github-actions github-actions bot temporarily deployed to pull request August 7, 2023 09:06 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 7, 2023 09:59 Inactive
@planctus planctus merged commit b7b0508 into v3-dev Aug 7, 2023
6 checks passed
@planctus planctus deleted the FRONT-4018-close-again branch August 7, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants