PageSourceSearch

https://www.notar.ee/profiles/vp_profile/modules/vp_andmevara_views/views/js/search_and_forums.view.js?tfn8pv

js notar.ee collected 2026-10-02 06:07:50 UTC 1,612 bytes, 50 lines download raw bytes

1(function() {
2
3  function searchFormInit() {
4	// Setting combined op to 'radios' hides the input box. Clicking on radio hides the input box. Bring it back.
5    jQuery('#edit-find').parent().show();
6    jQuery('#edit-find-op input[type=radio]').change(function(){
7      setTimeout(function() {
8        jQuery('#edit-find').parent().show();
9      }, 0);
10    });
11    // Configure custom date behavior
12    jQuery('#edit-date-custom-wrapper input[type=text]').focus(function(){
13      jQuery('#edit-date input[type=radio]:last').prop('checked', true);
14    });
15    jQuery('#edit-date input[type=radio]:not(:last)').click(function(){
16      jQuery('#edit-date-custom-wrapper input[type=text]').val('');
17    })
18    jQuery('#edit-date input[type=radio]:last').parent().append(jQuery('#edit-date-custom-wrapper'));
19  }
20
21  var _DocumentReady = 0;
22  jQuery(document).ready(function () {
23    if (_DocumentReady) return;
24	_DocumentReady = 1;
25      if (location.href.indexOf('admin') != -1) return;
26      if (location.href.indexOf('/foorum') != -1) searchFormInit();
27      if (location.href.indexOf('/forum') != -1) searchFormInit();
28
29	jQuery.each(jQuery('.item-list > ul'), function (index, item) {
30        jQuery(item).attr('data-before', 'kuva teemad');
31    });
32	
33	  
34	
35	  jQuery(document).on('click', '.item-list > ul ', function () {
36		
37		if(jQuery(this).attr('data-before') == 'peida teemad'){
38			jQuery(this).attr('data-before','kuva teemad');
39		}else jQuery(this).attr('data-before','peida teemad');
40
41		
42			jQuery("li", this).toggle("slow");
43			
44		});
45		
46	});
47	
48
49  
50})()

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.