Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
$(function() | $(function() | ||
{ | { | ||
+ | |||
var docLink = document.URL; | var docLink = document.URL; | ||
if (document.URL.indexOf("?") != -1) | if (document.URL.indexOf("?") != -1) | ||
Line 35: | Line 36: | ||
a.href = document.URL; | a.href = document.URL; | ||
var docPath = a.pathname + a.search; | var docPath = a.pathname + a.search; | ||
- | $('#loginLink').attr('href', 'https://2011.igem.org/wiki/index.php?title=Special:UserLogin&returnto=' | + | $('#loginLink').attr('href', 'https://2011.igem.org/wiki/index.php?title=Special:UserLogin&returnto='); |
} | } | ||