codeforamerica / brigade-alpha

The old Code for America Brigade website. The new site at https://github.com/codeforamerica/brigade
BSD 3-Clause "New" or "Revised" License
16 stars 18 forks source link

Fix Javascript History bug in Safari 7.0 #35

Closed migurski closed 10 years ago

migurski commented 10 years ago

Steps to reproduce:

  1. Load a brigade e.g. http://codeforamerica.org/brigade/index/Open_Oakland
  2. Navigate to a brigade event.
  3. Use browser back button to return.
  4. Click a different brigade map marker.

Expected: The other organization’s overlay is loaded into the side panel.

Observed: The entire page is loaded into the side panel.

migurski commented 10 years ago

The bug seemed to be caused by stashing brigade_base_url in document.location.