Ignore clicks on the add note button when it is disabled
This commit is contained in:
parent
afc46bcd9b
commit
04fbc71a40
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue