20ac68188d3fe67b991f5f2ed1e712d5a0a8c2c7 wisulliv Fri Feb 9 09:38:15 2024 -0800 Will SSPsyGene V1 Updates. diff --git src/hg/cirm/gateway/js/cirmStuff.js src/hg/cirm/gateway/js/cirmStuff.js index 713dc58..c0584e5 100644 --- src/hg/cirm/gateway/js/cirmStuff.js +++ src/hg/cirm/gateway/js/cirmStuff.js @@ -79,39 +79,30 @@ if (loginInfo.auth === "basic") { $('#logoutLink').click(function(){ cirmSiteFunctions.basicAuthLogout('/', 'http://cirm.ucsc.edu'); return false; }); } }; }; var url = cirmSiteFunctions.userNameUrl(); loginRequest.open("GET", url, true); loginRequest.send(); } else { $("a.login").hide(); } }); -// Screw with banner and search box (secure vs not) -$(document).ready(function() { - if (cirmSiteFunctions.isSecureSite()) { - $(".cirm-banner").hide(); - $(".securesite-banner").show(); - $("#siteSearchBox").hide(); - } -}); - // Call googleAnalytics $(document).ready(function() { var analyticsKey = "UA-135185279-1"; if (cirmSiteFunctions.isSecureSite()) { analyticsKey = "UA-135185279-2"; } // should keep in sync with kent/src/hg/lib/googleAnalytics.c (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', analyticsKey, 'auto'); ga('require', 'displayfeatures'); ga('send', 'pageview'); });