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

Javascript error with materialtabs and URL #1402

Closed
thibaultmeyer opened this issue Sep 4, 2019 · 0 comments
Closed

Javascript error with materialtabs and URL #1402

thibaultmeyer opened this issue Sep 4, 2019 · 0 comments
Milestone

Comments

@thibaultmeyer
Copy link

When materialtabs is used with real URL. Javascript code crash at if (target.trim() !== "#" && $(target).length > 0)

<ul class="app-bar-present pos-relative" data-role="materialtabs">
    <li class="active"><a href="/insights">Insights</a></li>
    <li><a href="/information">Informations</a></li>
</ul>

Adding try/catch block will prevent this error

@olton olton added the bug label Sep 4, 2019
olton added a commit that referenced this issue Sep 4, 2019
@olton olton added this to the v4.2.49 milestone Sep 4, 2019
@olton olton added the Fixed label Sep 4, 2019
@olton olton closed this as completed Sep 15, 2019
olton added a commit that referenced this issue Oct 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants