mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 02:36:02 +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) {
|
domainsSearchSubmit.addEventListener('click', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
currentSearchTerm = domainsSearchInput.value;
|
currentSearchTerm = domainsSearchInput.value;
|
||||||
|
// If the search is blank, we match the resetSearch functionality
|
||||||
if (currentSearchTerm) {
|
if (currentSearchTerm) {
|
||||||
showElement(resetButton);
|
showElement(resetButton);
|
||||||
} else {
|
} else {
|
||||||
|
@ -1565,6 +1566,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||||
domainRequestsSearchSubmit.addEventListener('click', function(e) {
|
domainRequestsSearchSubmit.addEventListener('click', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
currentSearchTerm = domainRequestsSearchInput.value;
|
currentSearchTerm = domainRequestsSearchInput.value;
|
||||||
|
// If the search is blank, we match the resetSearch functionality
|
||||||
if (currentSearchTerm) {
|
if (currentSearchTerm) {
|
||||||
showElement(resetButton);
|
showElement(resetButton);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue