X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d48b25124eaf561428176c60b79cc90e0a8e8125..3eda7be919f5b3bd88b5cf85ba1a3c1f72550d6f:/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;