Distinguish between addon product address forms

This commit is contained in:
Mira Weller
2024-11-25 21:00:25 +01:00
parent 6d32aa5220
commit 5fee16035f
@@ -5,7 +5,7 @@ $(function () {
let counter = 0;
const dependency = $(this),
url = this.getAttribute('data-country-information-url'),
form = $(this).closest(".panel-body, form"),
form = $(this).closest(".panel-body, form, .profile-scope"),
isRequired = dependency.closest(".form-group").is(".required"),
dependents = {
'city': form.find("input[name$=city]"),