f5ce127821bae4c11e81c2491d789af5a443f076 chmalee Thu Oct 20 15:43:58 2022 -0700 Add space after button, refs #29693 diff --git src/hg/js/hgSearch.js src/hg/js/hgSearch.js index 0d4162d..1ed0f89 100644 --- src/hg/js/hgSearch.js +++ src/hg/js/hgSearch.js @@ -589,33 +589,33 @@ var noLiStyle = document.createAttribute("class"); noLiStyle.value = "liNoStyle"; newListObj.setAttributeNode(noLiStyle); newListObj.innerHTML += ""; newListObj.innerHTML += ""; newListObj.innerHTML += " " + searchDesc + ":"; //printOneFullMatch(newList, matches[0], title, searchDesc); // Now loop through each actual hit on this table and unpack onto list var subList = document.createElement("ul"); printMatches(subList, matches, title, searchDesc); if (matches.length > 10) { subList.innerHTML += "
  • "; subList.innerHTML += ""; subList.innerHTML += ""; if (matches.length > 500) - subList.innerHTML += "
    Show 490 (out of " + (matches.length) + " total) more matches for " + searchDesc + "
  • "; + subList.innerHTML += "
     Show 490 (out of " + (matches.length) + " total) more matches for " + searchDesc + "
    "; else - subList.innerHTML += "
    Show " + (matches.length - 10) + " more matches for " + searchDesc + "
    "; + subList.innerHTML += "
     Show " + (matches.length - 10) + " more matches for " + searchDesc + "
    "; } newListObj.append(subList); newList.append(newListObj); // make result list collapsible: $('#'+idAttr.value+categoryCount+"_button").click(collapseNode); $('#'+idAttr.value+"_" +categoryCount+"_showMoreButton").click(showMoreResults); categoryCount += 1; }); } else if (uiState) { // No results from match var msg = "

    No results for: " + uiState.search + "

    "; parentDiv.empty(); parentDiv.html(msg); clearOldFacetCounts();