X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3ea2c30c58bb23247296fc212fcf7426668248a6..8b840c650629d45e79f99811e9062aea5e130e33:/app/assets/javascripts/index/note.js diff --git a/app/assets/javascripts/index/note.js b/app/assets/javascripts/index/note.js index 0c0be716b..15fedb1d1 100644 --- a/app/assets/javascripts/index/note.js +++ b/app/assets/javascripts/index/note.js @@ -83,7 +83,7 @@ OSM.Note = function (map) { } function updateButtons(form) { - $(form.close).prop("disabled", false); + $(form).find("input[type=submit]").prop("disabled", false); if ($(form.text).val() === "") { $(form.close).val($(form.close).data("defaultActionText")); $(form.comment).prop("disabled", true);