mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-03 16:32:15 +02:00
Remove js for style
This commit is contained in:
parent
04365fbf87
commit
0b69a5b0c2
2 changed files with 2 additions and 8 deletions
|
@ -2938,13 +2938,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
if (radio != null) requestingSuborganization = radio?.checked && radio.value === "True";
|
||||
requestingSuborganization ? showElement(suborgContainer) : hideElement(suborgContainer);
|
||||
requestingNewSuborganization.value = requestingSuborganization && select.value === "other" ? "True" : "False";
|
||||
if (requestingNewSuborganization.value === "True") {
|
||||
selectParent.classList.add("padding-bottom-2");
|
||||
showElement(suborgDetailsContainer);
|
||||
}else {
|
||||
selectParent.classList.remove("padding-bottom-2");
|
||||
hideElement(suborgDetailsContainer);
|
||||
}
|
||||
requestingNewSuborganization.value === "True" ? showElement(suborgDetailsContainer) : hideElement(suborgDetailsContainer);
|
||||
}
|
||||
|
||||
// Add fake "other" option to sub_organization select
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
{% comment %} This will be toggled if a special value, "other", is selected.
|
||||
Otherwise this field is invisible.
|
||||
{% endcomment %}
|
||||
<div id="suborganization-container__details">
|
||||
<div id="suborganization-container__details" class="padding-top-2 margin-top-0">
|
||||
{% with attr_required=True %}
|
||||
{% input_with_errors forms.1.requested_suborganization %}
|
||||
{% endwith %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue