bc0e542145aaf30eac158430d9336441f632ba26 jnavarr5 Tue May 13 16:41:24 2025 -0700 Fixing a small typo in the href (tutorial is misspelled), refs #35716 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index bf80cb6da7a..669dbcf3566 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -5864,31 +5864,31 @@ let msg = "New to the Genome Browser? See our short (2-3 minute) guided tutorial. " + "All tutorials can be found in the top blue bar menu under <b>Help</b> > <b>Interactive Tutorial</b>.<br>" + "<button id='showTutorialLink' href=\"#showTutorial\">Start tutorial</button>"; notifBoxSetup("hgTracks", "hideTutorial", msg, true); notifBoxShow("hgTracks", "hideTutorial"); localStorage.setItem("hgTracks_tutMsgCount", ++tutMsgCount); $("#showTutorialLink").on("click", function() { $("#hgTracks_hideTutorialnotifyHideForever").trigger("click"); basicTour.start(); }); } } // allow the user to bring the tutorials popup via a new help menu button let tutorialLinks = document.createElement("li"); tutorialLinks.id = "hgTracksHelpTutorialLinks"; - tutorialLinks.innerHTML = "<a id='hgTracksHelpTutorialLinks' href='#showTutuorialPopup'>" + + tutorialLinks.innerHTML = "<a id='hgTracksHelpTutorialLinks' href='#showTutorialPopup'>" + "Interactive Tutorials</a>"; $("#help > ul")[0].appendChild(tutorialLinks); $("#hgTracksHelpTutorialLinks").on("click", function () { // Check to see if the tutorial popup has been generated already let tutorialPopupExists = document.getElementById ("tutorialContainer"); if (!tutorialPopupExists) { // Create the tutorial popup if it doesn't exist createTutorialPopup(); } else { //otherwise use jquery-ui to open the popup $("#tutorialContainer").dialog("open"); } }); // Any highlighted region must be shown and warnBox must play nice with it.