PageSourceSearch

https://dulwichflorist.co.uk/js/faq.js

js dulwichflorist.co.uk collected 2026-10-07 05:46:06 UTC 657 bytes, 21 lines download raw bytes

1$(document).ready(function () {
2  $('.faq-accordion-button').on('click', function () {
3    const $button = $(this);
4    const $item = $button.closest('.faq-accordion-item');
5    const $collapse = $item.find('.faq-accordion-collapse');
6    const isOpen = $collapse.hasClass('faq-show');
7
8
9    $('.faq-accordion-collapse').each(function () {
10      $(this).removeClass('faq-show').css({maxHeight: 0});
11    });
12    $('.faq-accordion-button').addClass('faq-collapsed');
13
14
15    if (!isOpen) {
16      $collapse.addClass('faq-show').css({maxHeight: `${$collapse[0].scrollHeight}px`});
17      $button.removeClass('faq-collapsed');
18    }
19  });
20});
21

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.