f49326a813b4eed9190dc40d164b6184b3401323
hiram
  Mon Mar 7 11:25:55 2022 -0800
turn on mouseOverEnabled on by default can still be turned off refs #21980

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 315582e..5bd945a 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -10688,31 +10688,31 @@
 puts(msg);
 puts("</div>");
 jsInline("notifBoxShow();\n");
 }
 
 extern boolean issueBotWarning;
 
 void doMiddle(struct cart *theCart)
 /* Print the body of an html file.   */
 {
 cart = theCart;
 measureTiming = hPrintStatus() && isNotEmpty(cartOptionalString(cart, "measureTiming"));
 if (measureTiming)
     measureTime("Startup (bottleneck %d ms) ", botDelayMillis);
 
-char *mouseOverEnabled = cfgOption("mouseOverEnabled");
+char *mouseOverEnabled = cfgOptionDefault("mouseOverEnabled", "on");
 if (sameWordOk(mouseOverEnabled, "on"))
     {
     /* can not use mouseOver in any virtual mode */
     char *isMultiRegion = cartUsualString(cart, "virtModeType", "default");
     if (sameWordOk(isMultiRegion, "default"))
 	{
 	enableMouseOver = TRUE;
 	/* mouseOverJsonFile will be initializes and created at the same
 	 * time as the browser .png image file
 	 */
 	mouseOverJson = jsonWriteNew();
 	jsonWriteObjectStart(mouseOverJson, NULL);
 	/* this jsonWrite structure will finish off upon successful exit.
 	 * each track will start a list with the track name:
 	 *   jsonWriteListStart(mouseOverJson, tg->track);