X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/feeb135760abdbfef0eea193318566d9d96f2523..56fd5c4d90c7d3757fb97ff16c40aaa307ae1d22:/app/assets/javascripts/index/notes.js.erb?ds=inline 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");