From: Tom Hughes Date: Sun, 3 Feb 2013 17:58:37 +0000 (+0000) Subject: Enable the "add note" link after a new note is created X-Git-Tag: live~5068^2~30 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/97b21e5fb1b1a834dd9f97639745723f10610321 Enable the "add note" link after a new note is created --- diff --git a/app/assets/javascripts/index/notes.js.erb b/app/assets/javascripts/index/notes.js.erb index 6245758bf..3c6703bfa 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/app/assets/javascripts/index/notes.js.erb @@ -169,6 +169,7 @@ $(document).ready(function () { notes[feature.properties.id] = updateMarker(marker, feature); $(".leaflet-popup-close-button").off("click.close"); + $("#createnoteanchor").removeClass("disabled").addClass("geolink"); } }); }