f1f04f7cc152203f17d587f10b1bc176e45e9eae
max
  Fri Apr 10 01:52:03 2026 -0700
fixing up after claude

diff --git src/hg/js/hui.js src/hg/js/hui.js
index f129c051434..f2651b68917 100644
--- src/hg/js/hui.js
+++ src/hg/js/hui.js
@@ -96,42 +96,30 @@
             if ($(visDD).children('option[value="pack"]').length)
                 $(visDD).val("pack");
             else if ($(visDD).children('option[value="dense"]').length)
                 $(visDD).val("dense");
             else
                 $(visDD).prop('selectedIndex',$(visDD).children('option').length - 1);
 	        $(visDD).trigger("change");// trigger on change code, which may trigger supertrack reshaping
         }                         // and effecting inherited subtrack vis
 
         // If superChild and hidden by supertrack, wierd things go on unless we trigger reshape
         if ($(visDD).hasClass('superChild'))
             visTriggersHiddenSelect(visDD);
     }
 }
 
-function hideAll()
-{
-    // Set main display dropdown to hide if no subtracks are checked
-    var visDD = normed($("select.visDD"));
-    if (visDD) {
-        if ($(visDD).prop('selectedIndex') !== 0) {
-            $(visDD).prop('selectedIndex', 0);
-            $(visDD).trigger("change");
-        }
-    }
-}
-
 function matSubCbClick(subCB)
 {
 // subCB:onclick  When a subtrack checkbox is clicked, it may result in
 // Clicking/unclicking the corresponding matrix CB.  Also the
 // subtrack may be hidden as a result.
 
     // NOTE: if "subCfg" then 'change' event will update it
     if (isFauxDisabled(subCB,false)) { // disabled subCB is still clickable when "subCfg"
         subCB.checked = true;
         fauxDisable(subCB,false,""); // enable and get rid of message
     }
     matSubCBsetShadow(subCB,false);
     hideOrShowSubtrack(subCB);
     // When subCBs are clicked, 3-state matCBs may need to be set
     var classes = matViewClasses('hidden');