Team:Heidelberg/Project

From 2014.igem.org

(Difference between revisions)
Line 441: Line 441:
if($(this).siblings().length == 0)
if($(this).siblings().length == 0)
// we're inside the warpping div, break out first
// we're inside the warpping div, break out first
-
$element = $(this).parent();
+
$element = $(this).parent().parent();
else
else
-
$element = $(this);
+
$element = $(this).parent();
console.log($element.find('span'));
console.log($element.find('span'));

Revision as of 09:02, 15 October 2014