e6ee88658405177aee46ddb8902ae93aee5b1378
max
  Thu Jan 22 16:36:14 2026 -0800
Revert "changing superTrack TrackUi quite a bit.

This reverts commit fcb6dc8dfa166136193177c895ca181200850e4d.

diff --git src/hg/js/utils.js src/hg/js/utils.js
index bbdee5d271a..57acd7d7cf2 100644
--- src/hg/js/utils.js
+++ src/hg/js/utils.js
@@ -4561,19 +4561,15 @@
     var w = window.open('');
     w.document.write('<a class="button" HREF="'+url+'" TARGET=_blank><button>Download File</button></a>&nbsp;');
     w.document.write('<button id="closeWindowLink" HREF="#">Close Tab</button>');
     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('<pre>' + text + '</pre>'); // 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);
-}
-