1jQuery(document).ready(function($){ 2 // ACCORDION 3 function runFAQ(){ 4 var toggleBlocks = $('.toggle-block'); 5 6 if(toggleBlocks){ 7 toggleBlocks.each(function(){ 8 $(this).find('.toggle-trigger').click(function(){ 9 if($(this).closest('.toggle-block').hasClass('toggled')){ 10 $(this).parents('.page-faq-wrapper').find('.toggle-block.toggled').find('.toggle-item').fadeToggle('fast'); 11 $(this).parents('.page-faq-wrapper').find('.toggle-block').removeClass('toggled'); 12 } else { 13 $(this).parents('.page-faq-wrapper').find('.toggle-block.toggled').find('.toggle-item').fadeToggle('fast'); 14 $(this).parents('.page-faq-wrapper').find('.toggle-block').removeClass('toggled'); 15 16 if($(this).parent().hasClass('toggled')){ 17 $(this).parent().removeClass('toggled') 18 } else { 19 $(this).parent().addClass('toggled') 20 } 21 $(this).next('.toggle-item').fadeToggle('fast'); 22 } 23 }) 24 }); 25 } 26 } 27 runFAQ(); 28});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.