mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 18:25:58 +02:00
comments
This commit is contained in:
parent
0b096dcbf5
commit
6ff9df1a5f
1 changed files with 2 additions and 0 deletions
|
@ -1212,6 +1212,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
domainsSearchSubmit.addEventListener('click', function(e) {
|
||||
e.preventDefault();
|
||||
currentSearchTerm = domainsSearchInput.value;
|
||||
// If the search is blank, we match the resetSearch functionality
|
||||
if (currentSearchTerm) {
|
||||
showElement(resetButton);
|
||||
} else {
|
||||
|
@ -1565,6 +1566,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
domainRequestsSearchSubmit.addEventListener('click', function(e) {
|
||||
e.preventDefault();
|
||||
currentSearchTerm = domainRequestsSearchInput.value;
|
||||
// If the search is blank, we match the resetSearch functionality
|
||||
if (currentSearchTerm) {
|
||||
showElement(resetButton);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue