PageSourceSearch

https://kokeilealfaa.fi/wp-content/themes/alpha-marketing-theme/js/accordion.js?ver=20261002192820

js kokeilealfaa.fi collected 2026-10-02 22:32:04 UTC 687 bytes, 33 lines download raw bytes

1( function ( $ ) {
2	if ( ! $( ".alpha-accordion" ).length ) {
3		return;
4	}
5
6	$.fn.alphaAccordion = function () {
7		$( this ).each( function ( _, acc ) {
8			const tabs = $( acc ).find( ".alpha-accordion-tab" );
9
10			tabs.map( function ( _, el ) {
11				const link = $( el ).find( ".alpha-accordion-title a" );
12
13				link.on( "click", function ( event ) {
14					const tab = $( el );
15					event.preventDefault();
16					tabs.not( tab ).removeClass( "on" );
17					tab.toggleClass( "on" );
18				} );
19
20				return el;
21			} );
22
23			$( acc )
24				.find( ".alpha-accordion-title a" )
25				.eq( 0 )
26				.trigger( "click" );
27		} );
28
29		return this;
30	};
31
32	$( ".alpha-accordion" ).alphaAccordion();
33} )( 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.