From eb0f6d5952761257836cf9c99a9b007ad84b70c6 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 27 Jul 2022 21:10:49 +0300 Subject: [PATCH] Fixed welcome banner close button --- app/assets/javascripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }); }); -- 2.39.5