60d75b94bb7e8e3d749c103ff5ae613268562c46 max Fri Jan 30 02:55:20 2026 -0800 Revert "Revert "Reapply "changing superTrack TrackUi quite a bit."" This reverts commit 55df1a106590a6c9fd7e3cca90fa6bbad8eb50c4. 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); +} +