Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix map page popstate / mobile nav menu bug
Previously, pressing the mobile menu icon would change the location hash, which fired a history popstate event with an empty state object, causing trouble for our map page JavaScript. Now, pressing the mobile menu icon triggers a pushState, instead of changing the location hash. This means our map page popstate logic is unaffected, but mobile users can still use their browser's Back button to escape out of the mobile menu.
- Loading branch information