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 browser back on puzzle pages. #2183

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

jpd236
Copy link
Contributor

@jpd236 jpd236 commented Jun 19, 2024

For some reason, when a Sheets URL is loaded with ?...#gid=0, it redirects to ?...&gid=0#gid=0; this redirect puts a spurious entry in the navigation history, which breaks the first back button press. Embedding the final URL fixes the back button.

Fixes #2162

For some reason, when a Sheets URL is loaded with ?...#gid=0, it
redirects to ?...&gid=0#gid=0; this redirect puts a spurious entry in
the navigation history, which breaks the first back button press.
Embedding the final URL fixes the back button.

Fixes deathandmayhem#2162
@zarvox zarvox merged commit 2297efe into deathandmayhem:main Jun 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Pressing browser back after opening a puzzle causes an error about a deleted sheet
2 participants