ce138738e24cb6e84502440b79490c412f6786f8 max Tue Jan 27 03:13:16 2026 -0800 Reapply "changing superTrack TrackUi quite a bit. This reverts commit e6ee88658405177aee46ddb8902ae93aee5b1378. diff --git src/hg/js/utils.js src/hg/js/utils.js index 57acd7d7cf2..bbdee5d271a 100644 --- src/hg/js/utils.js +++ src/hg/js/utils.js @@ -4561,15 +4561,19 @@ var w = window.open(''); w.document.write(' '); w.document.write(''); w.onload = function(ev) { // Attach event listeners after the new window is loaded w.document.getElementById('closeWindowLink').addEventListener('click', function() { w.close(); } ); }; fetch(url).then(response => response.text()) // Read the response as text .then(function(text) { w.document.write('
' + text + '
'); // Display the content w.document.close(); // Close the document to finish rendering }) .catch(error => console.error('Error fetching BED file:', error)); } +function capitalizeFirstLetter(string) { + return string.charAt(0).toUpperCase() + string.slice(1); +} +