36ea90d6191e1adfa028b0f7258fce42f2955050 lrnassar Tue Apr 4 16:42:21 2023 -0700 Adding some bolding to highlight parts of the message, refs #30591 diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 14db4c9..8421096 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -5488,33 +5488,33 @@ }); 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.style.width = "90%"; div.style.marginLeft = "100px"; div.id = "notifBox"; div.innerHTML = "This page took "+loadSeconds+" seconds to load. We strive to keep "+ "the UCSC Genome Browser quick and responsive. See our "+ - "display speed FAQ for "+ + "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.
"+ + "session link via My Data > My Sessions and send the link to genome-www@soe.ucsc.edu.
"+ "
"+ " "+ ""+ "
"; document.body.appendChild(div); notifBoxShow(); $("#notifyHide").click( function() { $("#notifBox").remove(); }); $("#notifyHideForever").click( function() { $("#notifBox").remove(); localStorage.setItem("hgTracks.hideSpeedNotification", "1"); }); }