codeforamerica / MuniciPal

:speech_balloon: Consulting city-dwellers about legislation near them.
22 stars 14 forks source link

when clicking the link on the landing page on narrow screens, the page does not load the expected council district #158

Closed tbuckl closed 9 years ago

tbuckl commented 9 years ago

saw this error on chrome on mobile and ios on mobile.

techieshark commented 9 years ago

confirmed; clicking on example address results in what appears to be a front page page-reload rather than jumping to a council district page.

tbuckl commented 9 years ago

i think it may only be the link action that does this? typing in an address seems fine. its also a problem on any browser of a certain size. e.g. if you scale chrome down to a small window and click the link.

techieshark commented 9 years ago

Thanks @buckleytom; I updated the description accordingly. It seems to relate to the fact that on small screens we're hiding the map, which is mucking with some Leaflet stuff and causing a JS error which prevents further progress.