Skip to content

Commit

Permalink
fix(landmark): grey submit btn if edit landmark
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Jan 10, 2025
1 parent e517cff commit b98e6d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/landmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ class Landmark {
this.dom.location.value = this.data.locationName;
Array.from(this.dom.radioColors).filter((el) => el.value == data.color)[0].checked = true;
Array.from(this.dom.radioIcons).filter((el) => el.value == data.icon)[0].checked = true;
this.dom.submitButton.classList.remove("disabled");
}

/**
Expand Down

0 comments on commit b98e6d0

Please sign in to comment.