PageSourceSearch

https://welcomebreak.co.uk/wp-content/plugins/cn-core-widgets/widg…/js/layout-builder-tabbed.js

js welcomebreak.co.uk collected 2026-09-25 18:42:19 UTC 871 bytes, 28 lines download raw bytes

1(function($) {
2    'use strict';
3
4    $(document).on('cnInitTabbedLayout', function (event, data) {
5        $('.js-layout-builder-tabbed').easytabs({
6            tabActiveClass: 'is-active',
7            tabs: '.c-tabbed-content__tabs > li',
8            animate: false,
9            updateHash: false,
10            defaultTab: 'li#defaulttab'
11        });
12    });
13
14    $(document).on('easytabs:before', '.js-layout-builder-tabbed', function (event, $clicked, $targetPanel) {
15        $(this).removeClass('is-default-state');
16    });
17
18    $(document).on('easytabs:after', '.js-layout-builder-tabbed', function (event, $clicked, $targetPanel) {
19        $(document).trigger('resize');
20    });
21
22    $(document).trigger('cnInitTabbedLayout');
23
24    $(document).on('ajaxModalHasLoaded', function (event, data) {
25        $(document).trigger('cnInitTabbedLayout');
26    });
27
28})(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.