X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5e420d9e50af1caca380c2ad22932f9d5ca26821..eeadb9e20222eade2f1db0bb599bef50eea15f93:/app/assets/javascripts/index/notes.js.erb diff --git a/app/assets/javascripts/index/notes.js.erb b/app/assets/javascripts/index/notes.js.erb index 7e197b09e..a58e5c568 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/app/assets/javascripts/index/notes.js.erb @@ -202,6 +202,8 @@ $(document).ready(function () { text: $(form.text).val() }, success: function (feature) { + $(marker._popup._content).find("textarea").val(""); + notes[feature.properties.id] = updateMarker(marker, feature); newNote = null;