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

tab hash link fix #1271

Merged
merged 6 commits into from
Nov 9, 2023
Merged

tab hash link fix #1271

merged 6 commits into from
Nov 9, 2023

Conversation

Copy link
Contributor

aem-code-sync bot commented Nov 8, 2023

Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-run PSI Checks

Copy link
Contributor

aem-code-sync bot commented Nov 8, 2023

Copy link
Contributor

aem-code-sync bot commented Nov 8, 2023

Copy link
Contributor

aem-code-sync bot commented Nov 8, 2023

@@ -24,6 +37,7 @@ function buildNav(block) {
const listItem = li(
{
class: 'tabs-nav-item',
id: tabTitle.toLowerCase().split(' ').join('-'),
Copy link
Contributor

Choose a reason for hiding this comment

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

You can use toClassName helper here this will also handle special characters etc.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mhaack Code changes has been done as per provided suggestions.

Copy link
Contributor

aem-code-sync bot commented Nov 9, 2023

Copy link
Contributor

aem-code-sync bot commented Nov 9, 2023

Copy link
Contributor

aem-code-sync bot commented Nov 9, 2023

Copy link
Contributor

aem-code-sync bot commented Nov 9, 2023

@dev-rajneeshkumar dev-rajneeshkumar merged commit 2078923 into main Nov 9, 2023
1 of 2 checks passed
@dev-rajneeshkumar dev-rajneeshkumar deleted the tab-hash-links branch November 9, 2023 11:20
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.

2 participants