1 2(function($){ 3 4 $(document).ready(function() { 5 $('.accordion-block').each(function(){ 6 var block = $(this); 7 if (!block.hasClass('block-processed')) { 8 $('.accordion-item', block).each(function(){ 9 var item = $(this); 10 $('.header a', item).click(function(e){ 11 e.preventDefault(); 12 13 if (!item.hasClass('active')) { 14 $('.accordion-item.active', block).each(function(){ 15 $(this).toggleClass('active'); 16 $('.content', $(this)).slideToggle(); 17 }); 18 } 19 20 item.toggleClass('active'); 21 $('.content', item).slideToggle(); 22 }); 23 }); 24 25 block.addClass('block-processed'); 26 } 27 }); 28 }); 29 30})(jQuery);
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.