]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Remove link_to_if since it's in a clause with the same condition
[rails.git] / app / assets / javascripts / index.js
index f74dd0bb73e20336a623f6ec1a09bda0d9b0a919..68beefeb6a7f4fa5122c2629c4254a8d01cc8f04 100644 (file)
@@ -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: "/" });
   });