diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-07-01 16:51:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-11 15:15:36 +0100 |
commit | f0af1066f6405d25fb2bc7e842f21d94ea09db32 (patch) | |
tree | d3e3e0c2cccd418eaee6155245a8d296aaf3a442 /web/js | |
parent | 898a64596ae5be52c94663ddead42641f903c4cd (diff) |
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.
Diffstat (limited to 'web/js')
0 files changed, 0 insertions, 0 deletions