diff --git a/script.js b/script.js index de9ba66..3944ec6 100644 --- a/script.js +++ b/script.js @@ -212,6 +212,7 @@ ); }); + var sections = $('.section'); sections.each(function (index) { if ($(this).find('script[data-activity-id]').length > 0) { // Hide all .section elements after this one