82d56b8b777ea5f1aa8fe8e8fd5c2dda94599036 galt Wed May 25 14:15:42 2016 -0700 adding genome-asia to code. diff --git src/hg/js/staticDoc.js src/hg/js/staticDoc.js index 7c5903e..6d4de80 100644 --- src/hg/js/staticDoc.js +++ src/hg/js/staticDoc.js @@ -1,25 +1,25 @@ $(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); }); $("a.changeHgFtp").each(function(){ this.href = this.href.replace(/^ftp:\/\/hgdownload\.cse\.ucsc\.edu/, "ftp://" +window.location.host); }); - if (location.host == 'genome-euro.ucsc.edu'){ + if (location.host == 'genome-euro.ucsc.edu' || location.host == 'genome-asia.ucsc.edu'){ $("a.euro").each(function(){ this.href = this.href.replace(/^http:\/\/genome\.ucsc\.edu/, "http://" +window.location.host); }); } });