73842d9355aa7aa407ba4719d45c85505b094842 max Thu Oct 17 09:48:16 2024 -0700 removing debugging code that slipped out, oops diff --git src/hg/js/hgTracks.js src/hg/js/hgTracks.js index 799c9ec..90776a9 100644 --- src/hg/js/hgTracks.js +++ src/hg/js/hgTracks.js @@ -5924,31 +5924,30 @@ opt.appendChild(newListEl); $("#hgTracksDownload").on("click", downloadCurrentTrackData.showDownloadUi); } } if (typeof showMouseovers !== 'undefined' && showMouseovers) { convertTitleTagsToMouseovers(); } }); 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; - alert(loadSeconds+"<"+maxSeconds); if (loadSeconds < maxSeconds) return; var skipNotification = localStorage.getItem("hgTracks.hideSpeedNotification"); dumpCart(loadSeconds, skipNotification); if (skipNotification) return; msg = "This page took "+loadSeconds+" seconds to load, more than "+maxSeconds+" seconds. We strive to keep "+ "the UCSC Genome Browser quick and responsive. See our "+ "<b><a href='../FAQ/FAQtracks.html#speed' target='_blank'>display speed FAQ</a></b> for "+ "common causes and solutions to slow performance. If this problem continues, you can create a "+ "session link via <b>My Data</b> > <b>My Sessions</b> and send the link to <b>genome-www@soe.ucsc.edu</b>."; notifBoxSetup("hgTracks", "hideSpeedNotification", msg);