9c8afc23fd041cc6cfe501ecf31574053d19b492 vanessa Mon Aug 9 14:54:02 2010 -0700 added the function for hgdownloads diff --git src/hg/js/staticDoc.js src/hg/js/staticDoc.js index dff633e..5df41ed 100644 --- src/hg/js/staticDoc.js +++ src/hg/js/staticDoc.js @@ -1,12 +1,15 @@ $(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); + }); });