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

Reloads the page if href contains hash #51

Closed
wants to merge 1 commit into from

Conversation

yangineer
Copy link

This adds a window.location.reload() to force the page to reload if it has hash in the url.

Fixes #50

Forces a reload if the content location href contains a hash.
@arnaudlewis
Copy link
Member

The toolbar has been rewritten, you can refer to this branch: https://github.com/prismicio/prismic-toolbar/tree/alw/refactor.
That will become the new master.

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.

Opening a shared preview results in preview geting stuck if content's url contains hash
2 participants