Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 421: Line 421:
{
{
     var hash = pValue +"-" + Cal.GetMonthName();
     var hash = pValue +"-" + Cal.GetMonthName();
-
if (document.getElementById(hash) {
+
if (document.getElementById(hash)) {
return "<td class='" + css_class + "'>" <a href='#"  + hash + "'>"+pValue +"</a></td>";
return "<td class='" + css_class + "'>" <a href='#"  + hash + "'>"+pValue +"</a></td>";
} else {
} else {

Revision as of 19:09, 29 September 2013