X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d48b25124eaf561428176c60b79cc90e0a8e8125..a1ff77ec56969346ecb5ba978879f5a96f166735:/app/assets/javascripts/index.js?ds=sidebyside 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;