a2e927679baeff2c5cb03b265afa9fe96884c358
lrnassar
  Tue Mar 28 14:16:39 2023 -0700
Updating the new track speed message, refs #30591

diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index 21e3260..36e8091 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -5484,33 +5484,34 @@
         $("#downloads > ul")[0].appendChild(newListEl);
         $("#hgTracksDownload").click(downloadCurrentTrackData.showDownloadUi);
     }
     
 });
 
 function hgtWarnTiming(maxSeconds) {
     /* show a dialog box if the page load time was slower than x seconds. Has buttons to hide or never show this again. */
     var loadTime = window.performance.timing.domContentLoadedEventStart-window.performance.timing.navigationStart; /// in msecs
     var loadSeconds = loadTime/1000;
     var skipNotification = localStorage.getItem("hgTracks.hideSpeedNotification");
     if (loadSeconds > maxSeconds && !skipNotification) {
         var div = document.createElement("div");
         div.style.display = "none";
         div.id = "notifBox";
-        div.innerHTML = "This page took "+loadSeconds+" seconds to load. We try to make the UCSC Genome Browser responsive. If you want us to look into "+
-            "why the page is so slow, you can create a "+
-            "session link with My Data &gt; My Sessions and send it to genome-www@soe.ucsc.edu.<br>"+
+        div.innerHTML = "This page took "+loadSeconds+" seconds to load. We try to make the UCSC "+
+            "Genome Browser responsive. "+
+            "See our <a target='_blank' href='../FAQ/FAQtracks.html#speed'>display speed FAQ </a> "+
+            "for common causes and solutions to slow performance.<br>"+
             "<div style='text-align:center'>"+
             "<button id='notifyHide'>Close</button>&nbsp;"+
             "<button id='notifyHideForever'>Close and never show again</button>"+
             "</div>";
         document.body.appendChild(div);
         notifBoxShow();
 
         $("#notifyHide").click( function() {
             $("#notifBox").remove();
         });
         $("#notifyHideForever").click( function() {
             $("#notifBox").remove();
             localStorage.setItem("hgTracks.hideSpeedNotification", "1");
         });
     }