X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e7ede890e8e948236d3dbc48e24aca00cd01f62..f8b04635a79cf23a30ae1c80029d8c33f34f8424:/app/assets/javascripts/index/note.js diff --git a/app/assets/javascripts/index/note.js b/app/assets/javascripts/index/note.js index 8687321c9..e9c51f9bf 100644 --- a/app/assets/javascripts/index/note.js +++ b/app/assets/javascripts/index/note.js @@ -61,7 +61,7 @@ OSM.Note = function (map) { }; if (name !== "subscribe" && name !== "unsubscribe" && name !== "reopen") { - ajaxSettings.data = { text: $("textarea").val() }; + ajaxSettings.data = { text: content.find("textarea").val() }; } content.find("button[name]").prop("disabled", true);