PageSourceSearch

https://www.gravitatedesign.com/wp-content/plugins/blueprint-block…/accordion-tabs/block.js?ver=1719955368

js gravitatedesign.com collected 2026-10-03 22:43:45 UTC 1,236 bytes, 28 lines download raw bytes

1jQuery(document).ready(function ($) {
2    $('.block-accordion-tabs').each(function () {
3        $('.block-accordion-tabs__tab-list li').each(function () {
4            $(this).on('click', function () {
5                var target = $(this).attr('data-target');
6
7                $(this).addClass('active');
8                $(this).siblings('li').removeClass('active');
9
10                $('#' + target).addClass('active');
11                $('#' + target).siblings('.block-accordion-tabs__item').removeClass('active');
12            });
13        });
14
15        $('.block-accordion-tabs__item .block-accordion-tabs__item--title').each(function () {
16            $(this).on('click', function () {
17                var target = $(this).parent('.block-accordion-tabs__item');
18                var sectionName = $(target).attr('id');
19
20                $(target).addClass('active');
21                $(this).parent().siblings('.block-accordion-tabs__item').removeClass('active');
22
23                $('.block-accordion-tabs__tab-list li[data-target=' + sectionName + ']').addClass('active');
24                $('.block-accordion-tabs__tab-list li[data-target=' + sectionName + ']').siblings('li').removeClass('active');
25            });
26        });
27    });
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.