- $.removeCookie("_osm_location");
- $.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" });
- });
-
- if ($.cookie('_osm_donate2015') === 'hide') {
- $('#donate').hide();
- }
-
- $('#donate .close').on('click', function() {
- $('#donate').hide();
- $.cookie("_osm_donate2015", 'hide', { expires: expiry });
+ $.removeCookie('_osm_location');
+ $.cookie('_osm_location', OSM.locationCookie(map), { expires: expiry, path: '/' });