Team:ETH Zurich/tpl/read-more

From 2014.igem.org

(Difference between revisions)
Line 16: Line 16:
$ps.each(function() {
$ps.each(function() {
-
totalHeight += $(this).height();
+
totalHeight += $(this).outerHeight();
});
});
$r.each(function() {
$r.each(function() {
-
totalHeight -= $(this).height();
+
totalHeight -= $(this).outerHeight();
});
});

Revision as of 14:29, 15 August 2014