Team:ETH Zurich/tpl/read-more

From 2014.igem.org

(Difference between revisions)
Line 13: Line 13:
$up = $p.parent();
$up = $p.parent();
$ps = $up.children();
$ps = $up.children();
-
$r = $ps.find('.read-more' , '.forward' , '.backward');
+
$r = $ps.find('.read-more');
$ps.each(function() {
$ps.each(function() {
Line 22: Line 22:
totalHeight -= $(this).outerHeight();
totalHeight -= $(this).outerHeight();
});
});
 +
 +
totalHeight -= 6em;
$up
$up

Revision as of 14:31, 15 August 2014