X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8a020b3ec727b8c9fa4d819855469dd348e58ee7..5ce51e974886e4671d97cc4fd7b231874ae4023e:/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);