Issue all _osm_location cookies against the root path
authorTom Hughes <tom@compton.nu>
Wed, 11 Dec 2013 00:19:49 +0000 (00:19 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 11 Dec 2013 00:19:49 +0000 (00:19 +0000)
commit19c77c3d24e31d1e5d44616ca25c02ee97ed27bd
tree11ffa010fb193cf397af914bf47e926a438a848b
parent54608122bb64c27f618773f4ad01a6822cfd0f1b
Issue all _osm_location cookies against the root path

To ensure that any old cookies issued against other paths are
removed we make sure to do a removeCookie call first without a
path being specified so that any cookie for the current page is
removed before we add a new one against the root.

Fixes #652
app/assets/javascripts/index.js