From b98e6d0ddb511a86ad4b410cd1ab4090b8e93121 Mon Sep 17 00:00:00 2001 From: azarz Date: Fri, 10 Jan 2025 10:32:26 +0100 Subject: [PATCH] fix(landmark): grey submit btn if edit landmark --- src/js/landmark.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/landmark.js b/src/js/landmark.js index 86689856..5f5e6802 100644 --- a/src/js/landmark.js +++ b/src/js/landmark.js @@ -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"); } /**