661ec62ccfe5864b48b9dbfd5e9f720a60e7c45e chmalee Thu Jun 15 11:06:30 2023 -0700 Fix missing braces typo when deciding whether to include the hg.conf controlled tutorial on hgTracks, no refs diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 7e58911..c18fb0d 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -11137,39 +11137,41 @@ #endif///def LOWELAB 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", FALSE)) + { puts("<script src=\"https://cdn.jsdelivr.net/npm/shepherd.js@11.0.1/dist/js/shepherd.min.js\"></script>"); puts("<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/shepherd.js@11.0.1/dist/css/shepherd.css\"/>"); jsIncludeFile("tutorial.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;"); } + } hPrintf("<div id='hgTrackUiDialog' style='display: none'></div>\n"); hPrintf("<div id='hgTracksDialog' style='display: none'></div>\n"); cartFlushHubWarnings(); } if (cartVarExists(cart, "chromInfoPage")) { cartRemove(cart, "chromInfoPage"); chromInfoPage(); } else if (differentString(cartUsualString(cart, TRACK_SEARCH,"0"),"0")) {