X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/31c81f108daf7525a40344d3c6fb1638da8001df..a1ff77ec56969346ecb5ba978879f5a96f166735:/app/assets/javascripts/index.js?ds=inline diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index f4b378ff3..5f84fb056 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -175,7 +175,7 @@ $(document).ready(function () { }); var bannerExpiry = new Date(); - expiry.setYear(expiry.getFullYear() + 1); + bannerExpiry.setYear(bannerExpiry.getFullYear() + 1); $('#banner .close-wrap').on('click', function(e) { var cookieId = e.target.id;