Line 21: | Line 21: | ||
if ( $(this).attr('href') === '#') { | if ( $(this).attr('href') === '#') { | ||
// Video | // Video | ||
− | + | $(this).attr('href', 'https://video.igem.org/videos/watch/7a0fee51-a637-4caf-aa97-a1d9bcafd3ba'); | |
+ | $(this).attr('target', '_blank'); | ||
} else if ( $(this).attr('href') === 'https://2019.igem.org/Team:Fudan-TSI/Heritage' ) { | } else if ( $(this).attr('href') === 'https://2019.igem.org/Team:Fudan-TSI/Heritage' ) { | ||
$(this).attr('href', 'https://2020.igem.org/Team:Fudan/Heritage'); | $(this).attr('href', 'https://2020.igem.org/Team:Fudan/Heritage'); | ||
+ | $(this).attr('target', '_self'); | ||
} | } | ||
if ($(this).attr("href").startsWith('/'+wgPageName) ) { | if ($(this).attr("href").startsWith('/'+wgPageName) ) { |
Revision as of 02:53, 22 October 2020