X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/84170254e4eefe74f2a14f1e395c22ec3ca40638..9e2db4513e7ebd93bf47898774348957192e11b4:/app/assets/javascripts/index.js?ds=sidebyside diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 5e437c6ec..d96bbad4a 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -165,13 +165,13 @@ $(document).ready(function () { $.cookie("_osm_location", OSM.locationCookie(map), { expires: expiry, path: "/" }); }); - if ($.cookie('_osm_donate2015') === 'hide') { + if ($.cookie('_osm_donatedone2015') === 'hide') { $('#donate').hide(); } $('#donate .close').on('click', function() { $('#donate').hide(); - $.cookie("_osm_donate2015", 'hide', { expires: expiry }); + $.cookie("_osm_donatedone2015", 'hide', { expires: expiry }); }); if ($.cookie('_osm_welcome') === 'hide') {