PageSourceSearch

https://wikimedia.se/wp-content/themes/reykjavik/assets/js/scripts-global.js?ver=2.3.8

js wikimedia.se collected 2026-10-02 03:59:02 UTC 779 bytes, 41 lines download raw bytes

1/**
2 * Theme frontend scripts
3 *
4 * @package    Reykjavik
5 * @copyright  WebMan Design, Oliver Juhas
6 *
7 * @since    1.0.0
8 * @version  2.1.0
9 */
10
11( function( $ ) {
12	'use strict';
13
14	var
15		$introMedia = $( document.getElementById( 'intro-media' ) );
16
17	// Tell CSS that JS is enabled...
18	$( '.no-js' )
19		.removeClass( 'no-js' );
20
21	// Fixing Recent Comments widget multiple appearances.
22	$( '.widget_recent_comments ul' )
23		.attr( 'id', '' );
24
25	// Custom header.
26
27		if ( $introMedia.length ) {
28			$introMedia
29				.parent( '.intro-special' )
30					.addClass( 'intro-special-has-media' );
31		}
32
33		$( document )
34			.on( 'wp-custom-header-video-loaded', function() {
35
36				$introMedia
37					.addClass( 'has-header-video' );
38
39			} );
40
41} )( 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.