08ca8e04a5140c74052299e34a1d811f9bcf4d3c chmalee Thu Dec 11 12:13:19 2025 -0800 Add message to trackDb hub document search that informs shift+enter can be used to jump backwards, refs #36831 diff --git src/hg/htdocs/goldenPath/help/trackDb/trackDbDoc.js src/hg/htdocs/goldenPath/help/trackDb/trackDbDoc.js index 13c46dddd65..2ff43e9da2c 100644 --- src/hg/htdocs/goldenPath/help/trackDb/trackDbDoc.js +++ src/hg/htdocs/goldenPath/help/trackDb/trackDbDoc.js @@ -926,29 +926,29 @@ statusDiv.style.display = 'block'; if (count === 0) { if (term.length === 1) { statusDiv.textContent = `Type at least 2 characters to search`; statusDiv.style.backgroundColor = '#fff3cd'; statusDiv.style.borderColor = '#ffeaa7'; statusDiv.style.color = '#856404'; } else { statusDiv.textContent = `No results found for "${term}"`; statusDiv.style.backgroundColor = '#f8d7da'; statusDiv.style.borderColor = '#f5c6cb'; statusDiv.style.color = '#721c24'; } } else { - statusDiv.textContent = `Found ${count} result${count !== 1 ? 's' : ''} for "${term}" - Use F3/Enter to navigate`; + statusDiv.textContent = `Found ${count} result${count !== 1 ? 's' : ''} for "${term}" - Use F3/Enter (Shift+F3/Shift+Enter) to navigate`; statusDiv.style.backgroundColor = '#e8f4f8'; statusDiv.style.borderColor = '#bee5eb'; statusDiv.style.color = '#0c5460'; } } function hideSearchStatus() { let statusDiv = document.getElementById('searchStatus'); if (statusDiv) { statusDiv.style.display = 'none'; } }