bb91983642454f19363543521e36ac836eb504e5 jcasper Mon Jun 3 12:59:53 2013 -0700 Collapsed staticDoc.js into one file, updated makefile/README to not clobber alpha on make user, refs #10888 diff --git src/hg/js/staticDoc.js src/hg/js/staticDoc.js index 5df41ed..eb1b59f 100644 --- src/hg/js/staticDoc.js +++ src/hg/js/staticDoc.js @@ -1,15 +1,22 @@ $(document).ready(function(){ $("a.change").each(function(){ this.href = this.href.replace(/^http:\/\/genome\.ucsc\.edu/, "http://" +window.location.host); }); $("a.insideLink").each(function(){ this.href = this.href.replace(/=http:\/\/genome\.ucsc\.edu/, "=http://" +window.location.host); }); $("a.changeHg").each(function(){ this.href = this.href.replace(/^http:\/\/hgdownload\.cse\.ucsc\.edu/, "http://" +window.location.host); }); + if (location.host == 'genome-euro.ucsc.edu'){ + $("a.euro").each(function(){ + this.href = this.href.replace(/^http:\/\/genome\.ucsc\.edu/, "http://" +window.location.host); + }); + } + + });