Line 132: | Line 132: | ||
} | } | ||
− | function showOne(h, sec){ | + | function showOne(h, sec, rec){ |
var id = h.attr('id'); | var id = h.attr('id'); | ||
Line 142: | Line 142: | ||
} | } | ||
− | h.parents('collapser').each(function(){ | + | if(!rec){ |
− | + | h.parents('.collapser').each(function(){ | |
− | + | var h = $(this), sec = $('#sec-'+h.attr('id')); | |
− | + | ||
− | + | showOne(h, sec, true); | |
+ | }); | ||
+ | } | ||
} | } | ||
Revision as of 14:28, 17 October 2016