1// Accordion for the documents list heads. The AGM accordion is handled by 2// src/components/Accordion.svelte and no longer needs a script here. 3var accordionHeadWithAttr = document.querySelectorAll('[data-acco-head]'); 4 5$('.documentslist__blue-head').on('click', function () { 6 var $element = $(this); 7 if ($element.hasClass('documentslist__blue-head--active')) { 8 $element.removeClass('documentslist__blue-head--active '); 9 $(this).next().stop().slideUp(); 10 } else { 11 $(accordionHeadWithAttr).each(function () { 12 $(this).removeClass('documentslist__blue-head--active '); 13 $(this).next().stop().slideUp(); 14 }); 15 $element.addClass('documentslist__blue-head--active'); 16 var $nextElement = $element.next(); 17 $nextElement.stop().slideDown(); 18 } 19});
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.