PageSourceSearch

https://raahe.fi/modules/pvp_sivusto/js/pvp_sivusto.js?v=1.x

js raahe.fi collected 2026-09-24 10:02:59 UTC 1,032 bytes, 24 lines download raw bytes

1jQuery(document).ready(function() {
2	
3	jQuery("label[for='edit-lang-dropdown-select']").attr("id", "kielivalinta");
4	jQuery('.lang-dropdown-select-element').attr('aria-labelledby', 'kielivalinta');
5	/*if(jQuery(window).width() > 768) {
6		jQuery('.lang-dropdown-select-element option[value="fi"]').text('suomeksi (fi)');
7		jQuery('.lang-dropdown-select-element option[value="en"]').text('in english (en)');
8		jQuery('.lang-dropdown-select-element option[value="sv"]').text('svenska (sv)');
9		jQuery('.lang-dropdown-select-element option[value="ru"]').text('russkiy (ru)');
10	}*/
11	
12	// Select all h3 elements in palvelukanava
13	var h3Elements = jQuery(".page-node-ptv_palvelukanava .block-region-third h3");
14	
15	// Loop through each h3 element
16	h3Elements.each(function() {
17	  // Create a new h2 element with the same content as the h3 element
18	  var h2Element = jQuery("<h2>" + jQuery(this).html() + "</h2>");
19	  
20	  // Replace the h3 element with the h2 element
21	  jQuery(this).replaceWith(h2Element);
22	});
23
24} );

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.