mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 19:48:36 +02:00
usa-alert--do-not-reset
This commit is contained in:
parent
57f7427141
commit
d7447cff96
2 changed files with 2 additions and 2 deletions
|
@ -466,7 +466,7 @@ export class NameserverForm {
|
|||
const mainContent = document.getElementById("main-content");
|
||||
if (mainContent) {
|
||||
// Remove all alert elements within the main content area
|
||||
mainContent.querySelectorAll(".usa-alert").forEach(alert => alert.remove());
|
||||
mainContent.querySelectorAll(".usa-alert:not(.usa-alert--do-not-reset)").forEach(alert => alert.remove());
|
||||
} else {
|
||||
console.warn("Expecting main-content DOM element");
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
{% endfor %}
|
||||
|
||||
{% if formset.initial|length >= formset.max_num %}
|
||||
<div class="usa-alert usa-alert--info usa-alert--slim margin-bottom-2" role="alert">
|
||||
<div class="usa-alert usa-alert--do-not-reset usa-alert--info usa-alert--slim margin-bottom-2" role="alert">
|
||||
<div class="usa-alert__body">
|
||||
<p class="usa-alert__text">
|
||||
You’ve reached the maximum amount of allowed name server records (13).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue