Team:TU Delft
From 2010.igem.org
(Difference between revisions)
Line 202: | Line 202: | ||
var url = this.href; | var url = this.href; | ||
- | if(this.hash) | + | if(this.hash) { |
- | this.href = this.hash; | + | this.href = '#page=' + currentPage + '&anchor=' + this.hash.substring(1); |
+ | } | ||
else if(txt != "edit") | else if(txt != "edit") | ||
this.href = this.href.replace("https://2010.igem.org/Team:TU_Delft/", "#page="); | this.href = this.href.replace("https://2010.igem.org/Team:TU_Delft/", "#page="); |