X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fa9b4a5f6a00fd862ce3230a64d6c6c89c7fbb6c..2fa422578448314fb6fad888b5c47cf994cb0b8c:/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 63576c06c..8972d6bf9 100644 --- a/app/assets/javascripts/index/notes.js.erb +++ b/app/assets/javascripts/index/notes.js.erb @@ -223,6 +223,7 @@ function initializeNotes(map, params) { e.preventDefault(); e.stopPropagation(); + if (addNoteButton.hasClass("disabled")) return; if (addNoteButton.hasClass("active")) return; addNoteButton.removeClass("geolink").addClass("active");