Team:ETH Zurich/Templates/HeaderNew
From 2011.igem.org
(Difference between revisions)
Line 15: | Line 15: | ||
if (docPath.indexOf("?") != -1) | if (docPath.indexOf("?") != -1) | ||
{ | { | ||
- | var docLink = | + | var docLink = docPath + '&'; |
} | } | ||
else | else | ||
{ | { | ||
- | var docLink = | + | var docLink = docPath + '?'; |
} | } | ||
alert(docLink); | alert(docLink); |