Template:Sifuentes01

From 2014.igem.org

(Difference between revisions)
Line 309: Line 309:
});
});
-
$(".button").click(function() {
+
$(".button").click(function(){
-
  window.location = $(this).find("a").attr("href");  
+
    if($(this).find("a").length){
-
  return false;
+
        window.location.href = $(this).find("a:first").attr("href");
 +
    }
});
});

Revision as of 22:11, 8 January 2015