d86274d116c9a29ddcf66f594c57bab80fb5a93c
hiram
Wed Sep 11 15:31:27 2024 -0700
adjustments per feedback refs #32596
diff --git src/hg/js/assemblySearch.js src/hg/js/assemblySearch.js
index 035d175..0dbc56a 100644
--- src/hg/js/assemblySearch.js
+++ src/hg/js/assemblySearch.js
@@ -266,35 +266,35 @@
headerRow += '
NCBI Assembly ⓘLinks to NCBI resource record or UCSC downloads for local UCSC assemblies | ';
headerRow += 'Year ⓘYear assembly was released. | ';
headerRow += ' | ';
headerRow += 'Description ⓘDescription may include other names, the taxId, year of assembly release and assembly center. | ';
headerRow += 'Status ⓘWhen specified, status will show the Assembly status the RefSeq category and the Assembly level. | ';
headerRow += '';
tableHead.innerHTML = headerRow;
}
// call with visible true to make visible, false to hide
function advancedSearchVisible(visible) {
var advancedSearchButton = document.getElementById("advancedSearchButton");
var searchOptions = document.getElementById("advancedSearchOptions");
if (visible) {
searchOptions.style.display = "flex";
- advancedSearchButton.textContent = "Hide advanced search options";
+ advancedSearchButton.textContent = "Hide search options";
stateObject.advancedSearchVisible = true;
} else {
searchOptions.style.display = "none";
- advancedSearchButton.textContent = "Show advanced search options";
+ advancedSearchButton.textContent = "Show search options";
stateObject.advancedSearchVisible = false;
}
}
// Function to highlight words in the result that match the words
// in the queryString. Work through each item of the rowData object,
// for each string, find out if it matches any of the words in the
// queryString. This is tricky, there are extra characters besides
// just [a-zA-Z] that are getting in the way of these matches, where
// the MySQL could match, for example: checking:
// 'HG02257' =? '(HG02257.pat'
// 'HG02257' =? 'HG02257.alt.pat.f1_v2'
// doesn't match here, but MySQL match did
function highlightMatch(queryString, rowData) {