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 JS error when the dash has no icons #1222

Merged
merged 1 commit into from
May 15, 2020
Merged

Conversation

schiorean
Copy link
Contributor

@schiorean schiorean commented May 13, 2020

This pull request fixes the JS error reported in here #1188

The approach is quite simple, if there is no "first icon", it means there's no icons at all and there's nothing to to anymore, so simply return. I hope the approach is fine, I tested it on my installation and it fixes the problem reported in the issue.

Fixes #1188

@schiorean schiorean changed the title Fixes #1188 Fix JS error when the dash has no icons May 13, 2020
@UA27 UA27 mentioned this pull request May 14, 2020
Copy link
Collaborator

@3v1n0 3v1n0 left a comment

Choose a reason for hiding this comment

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

Seems reasonable.

Thanks

@3v1n0 3v1n0 merged commit 6fba295 into micheleg:master May 15, 2020
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.

Error in the js script
2 participants