PageSourceSearch

https://www.jens2015.eu/wp-content/themes/sentio/js/sentio.js?ver=85

js jens2015.eu collected 2026-10-08 22:53:01 UTC 1,103 bytes, 37 lines download raw bytes

1;(function($) {
2	'use strict';
3	
4	var nav = $( '.primary-navigation > ul > li > a' );
5	nav.each( function( i ) {
6		var linkText = nav.eq( i ).text();
7		if( linkText[0].length ) {
8			nav.eq( i ).parent().append( '<span>' + linkText[0] + '</span>' );
9		}
10	} );
11
12	window.onbeforeunload = function(e) {
13		$( '#page-canvas' ).addClass( 'switch-page' );
14	};
15
16	var widgetDropdown = $( 'select[name="archive-dropdown"], select[name="cat"]' );
17
18	if( widgetDropdown.length ) {
19		widgetDropdown.parent().addClass( 'dh-widget-dropdown' );
20	}
21
22	if( $( '.nav-devices' ).length ) {
23		$( document ).on( 'click', function(e) {
24			if( $( e.target ).is( '.nav-devices i' ) ) {
25				$( '.nav-devices' ).toggleClass( 'active-devices' );
26				$( 'body' ).toggleClass( 'no-scroll' );
27			} else {
28				if( $( 'body' ).hasClass( 'no-scroll' ) ) {
29					if( ! $( e.target ).is( '.active-devices + ul, .active-devices + ul li, .active-devices + ul a')) {
30						$( '.nav-devices' ).removeClass( 'active-devices' );
31						$( 'body' ).removeClass( 'no-scroll' );
32					}
33				}
34			}
35		});
36	}
37})(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.