314f62455b39a4271649c732b6d55cd96f9bba82
chmalee
Tue May 27 12:42:11 2025 -0700
Remove CDN links to shepherd and replace with local copies, refs #35464
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 019ec99d621..289ecaa21b8 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -11491,32 +11491,32 @@
webIncludeResourceFile("spectrum.min.css");
webIncludeResourceFile("jquery-ui.css");
if (enableMouseOver)
webIncludeResourceFile("mouseOver.css");
if (!searching) // NOT doing search
{
webIncludeResourceFile("jquery.contextmenu.css");
jsIncludeFile("jquery.contextmenu.js", NULL);
webIncludeResourceFile("ui.dropdownchecklist.css");
jsIncludeFile("ui.dropdownchecklist.js", NULL);
jsIncludeFile("ddcl.js", NULL);
if (cfgOptionBooleanDefault("showTutorial", TRUE))
{
- puts("");
- puts("");
+ jsIncludeFile("shepherd.min.js", NULL);
+ webIncludeResourceFile("shepherd.css");
jsIncludeFile("hgTracksPopup.js", NULL);
jsIncludeFile("basicTutorial.js",NULL);
jsIncludeFile("clinicalTutorial.js",NULL);
// if the user is logged in, we won't show the notification
// that a tutorial is available, just leave the link in the
// blue bar under "Help"
if (wikiLinkUserName())
jsInline("var userLoggedIn = true;");
// if the CGI variable startTutorial=true is present (in that exact
// spelling/case), immediately start the tutorial, for example
// when the user clicks a link from a help page. Note that this
// means it is a one time link that won't work on refresh because
// the variable isn't saved onto the URL
if (sameOk(cgiOptionalString("startTutorial"), "true"))
{