mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 17:56:11 +02:00
Swap to INFO setting
This commit is contained in:
parent
ac6d46b9f8
commit
259d713ed6
1 changed files with 2 additions and 2 deletions
|
@ -143,9 +143,9 @@ function checkDomainAvailability(el) {
|
||||||
// Determines if we ignore the field if it is just blank
|
// Determines if we ignore the field if it is just blank
|
||||||
ignore_blank = el.classList.contains("blank-ok")
|
ignore_blank = el.classList.contains("blank-ok")
|
||||||
if (el.validity.valid) {
|
if (el.validity.valid) {
|
||||||
el.classList.add('usa-input--success');
|
el.classList.add('usa-input--info');
|
||||||
// use of `parentElement` due to .gov inputs being wrapped in www/.gov decoration
|
// use of `parentElement` due to .gov inputs being wrapped in www/.gov decoration
|
||||||
inlineToast(el.parentElement, el.id, SUCCESS, response.message);
|
inlineToast(el.parentElement, el.id, INFORMATIVE, response.message);
|
||||||
} else if (ignore_blank && response.code == "required"){
|
} else if (ignore_blank && response.code == "required"){
|
||||||
console.log('ignore_blank && response.code == "required"')
|
console.log('ignore_blank && response.code == "required"')
|
||||||
// Visually remove the error
|
// Visually remove the error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue