Skip to content

Conversation

@Anne-Victoria
Copy link
Contributor

When using e.g. uBlock Origin, navigation in the styleguidist documentation is broken. This is because in that case "window.goatcounter" is undefined. I added a check that assures, goatcounter.count will only be called if goatcounter is defined. This way clicking on links and navigating the documentation still works when goatcounter is blocked.

@codecov
Copy link

codecov bot commented Aug 1, 2020

Codecov Report

Merging #1651 into master will not change coverage.
The diff coverage is n/a.

Copy link
Member

@sapegin sapegin left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@sapegin sapegin merged commit 70551f9 into styleguidist:master Aug 3, 2020
@Anne-Victoria
Copy link
Contributor Author

Thank you for merging! This is the first time I sent a PR to an open source project, so I'm super excited about this working out 🌟

@styleguidist-bot
Copy link
Collaborator

🎉 This PR is included in version 11.0.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants