e3e6c0f4df0c5b580fb65d02738b92217fcea1dc
jnavarr5
  Mon Dec 1 12:14:41 2025 -0800
Using the wrong database, hg38, and the tutorial should use hg19, refs #34354

diff --git src/hg/js/tutorials/tutorialPopup.js src/hg/js/tutorials/tutorialPopup.js
index e68b2f0893a..2331f603913 100644
--- src/hg/js/tutorials/tutorialPopup.js
+++ src/hg/js/tutorials/tutorialPopup.js
@@ -97,35 +97,35 @@
   document.getElementById('clinicalTutorial').addEventListener('click', function(event) {
     event.preventDefault();
     $("#tutorialContainer").dialog("close");
     if (cgi == "hgTracks" && (db == "hg38" || db =="hg19")) {
         clinicalTour.start(); // If you are on hg38 or hg19, then start the tutorial
     } else {
         // Otherwise go to hg38 and start the tutorial.
         window.location.href = "/cgi-bin/hgTracks?db=hg38&startClinical=true";
     }
   });
 
   // Function to control the clincial tutorial link
   document.getElementById('customTrackTutorial').addEventListener('click', function(event) {
     event.preventDefault();
     $("#tutorialContainer").dialog("close");
-    if (cgi == "hgCustom" && db == "hg38") {
-        customTrackTour.start(); // If you are on hg38, then start the tutorial
+    if (cgi == "hgCustom" && db == "hg19") {
+        customTrackTour.start(); // If you are on hg19, then start the tutorial
     } else {
-        // Otherwise go to hg38 and start the tutorial.
-        window.location.href = "/cgi-bin/hgCustom?db=hg38&startCustomTutorial=true&hgct_do_add=1";
+        // Otherwise go to hg19 and start the tutorial.
+        window.location.href = "/cgi-bin/hgCustom?db=hg19&startCustomTutorial=true&hgct_do_add=1";
     }
   });
 
   // Function to control the Table Browser tutorial link
   document.getElementById('tableBrowserTutorial').addEventListener('click', function(event) {
     event.preventDefault();
     $("#tutorialContainer").dialog("close");
     if (cgi == "hgTables" && (typeof startTableBrowserOnLoad !== 'undefined' && startTableBrowserOnLoad)) {
         tableBrowserTour.start(); // If you are on hgTables, start the tutorial
     } else {
         // Go to hgTables and start the tutorial
         window.location.href = "/cgi-bin/hgTables?startTutorial=true";
     }
   });