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 location hash with dot removes location hash #178

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

Nachtalb
Copy link

See browserstate/history.js#477 for the actual problem.
We move the history.js to the @@search view so that the problem doesn't affect other pages. We don't usually use any hashes in the @@search view so it doesn't really matter there.

There is a problem with jquery.history.js which removes the # from
locations hashes containing a dot. We only need that file in the search
view, so we just load it there and thus the error is not global anymore.
And in the search view we don't care about any hashes.
@Nachtalb Nachtalb requested a review from maethu February 24, 2021 15:41
@Nachtalb Nachtalb merged commit 834b10a into 1.x Feb 26, 2021
@Nachtalb Nachtalb deleted the ne/fix-hash-with-dot-error branch February 26, 2021 09:32
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.

None yet

2 participants