From: Anton Khorev Date: Wed, 27 Jul 2022 18:10:49 +0000 (+0300) Subject: Fixed welcome banner close button X-Git-Tag: live~1620^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/eb0f6d5952761257836cf9c99a9b007ad84b70c6 Fixed welcome banner close button --- diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index fc7780fca..d5a3731d8 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -195,7 +195,7 @@ $(document).ready(function () { $(".welcome").addClass("visible"); } - $(".welcome .close").on("click", function () { + $(".welcome .btn-close").on("click", function () { $(".welcome").removeClass("visible"); Cookies.set("_osm_welcome", "hide", { secure: true, expires: expiry, path: "/", samesite: "lax" }); });