Team:ETH Zurich/tpl/read-more

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
$p  = $el.parent();
$p  = $el.parent();
$up = $p.parent();
$up = $p.parent();
-
$ps = $up.find(":not('.read-more')");
+
$ps = $up.find("p:not('.read-more'), h2:not('.read-more')");
$ps.each(function() {
$ps.each(function() {

Revision as of 13:07, 15 August 2014