From: Tom Hughes Date: Wed, 21 Oct 2020 19:49:27 +0000 (+0100) Subject: Fix close handler for welcome message X-Git-Tag: live~2545 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2f03522c427ff030b8147a800a630a9082de3da7?hp=-c Fix close handler for welcome message --- 2f03522c427ff030b8147a800a630a9082de3da7 diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index f74dd0bb7..68beefeb6 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -196,7 +196,7 @@ $(document).ready(function () { $(".welcome").addClass("visible"); } - $(".welcome .close-wrap").on("click", function () { + $(".welcome .close").on("click", function () { $(".welcome").removeClass("visible"); $.cookie("_osm_welcome", "hide", { expires: expiry, path: "/" }); });