c16b8e7e06bc3e8826cde9ce815c501d307b42ed
max
Wed Oct 16 09:37:45 2024 -0700
tiny change to time warning message, no redmine
diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js
index af722f5..34b0ccd 100644
--- src/hg/js/hgTracks.js
+++ src/hg/js/hgTracks.js
@@ -5934,22 +5934,22 @@
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;
if (loadSeconds < maxSeconds)
return;
var skipNotification = localStorage.getItem("hgTracks.hideSpeedNotification");
dumpCart(loadSeconds, skipNotification);
if (skipNotification)
return;
msg = "This page took "+loadSeconds+" seconds to load. We strive to keep "+
- "the UCSC Genome Browser quick and responsive. See our "+
+ "the UCSC Genome Browser quick and responsive and load times under "+maxSeconds+" seconds. See our "+
"display speed FAQ for "+
"common causes and solutions to slow performance. If this problem continues, you can create a "+
"session link via My Data > My Sessions and send the link to genome-www@soe.ucsc.edu.";
notifBoxSetup("hgTracks", "hideSpeedNotification", msg);
notifBoxShow("hgTracks", "hideSpeedNotification");
}