PageSourceSearch

https://fr.twiza.org/Edelweiss.Specific/plugins/twiza-follow/mods/…/front-office/javascript/sh.1743255105.js

js twiza.org collected 2026-09-24 10:48:34 UTC 1,323 bytes, 57 lines download raw bytes

1//----------------------------------------------------------------------------------------------------
2//
3// SHOW/HIDE SEARCH
4//
5//----------------------------------------------------------------------------------------------------
6function checkShowSearch(){
7	
8	mobile = ($(window).width() > 800)?false:true;
9	
10	if(mobile){ // on click, donc on ferme car tout est ouvert par défaut
11		
12		$(".sh-search").click();
13		
14	}
15       
16       //$(".sh-search").click(); // on ferme toujours par défaut
17	
18}
19
20$(".sh-search").click(function(){
21	
22	isOpen = $(this).hasClass("open");
23	
24	if(!isOpen){
25
26		$(".c-search .animation-search-complex").show();
27		$(".c-search .filters").show();
28		
29		 $(this).addClass("open");
30		
31	}else{
32		
33		$(".c-search .animation-search-complex").hide();
34		$(".c-search .filters").hide();		
35				
36		 $(this).removeClass("open");
37		
38	}
39	
40	label 	= $(this).attr("data-label");
41	text	= $(this).html();
42	
43	$(this).attr("data-label",text);
44	$(this).html(label);	
45	
46});
47
48//----------------------------------------------------------------------------------------------------
49//
50// Action de base
51//
52//----------------------------------------------------------------------------------------------------
53$(document).ready(function(){
54	
55	checkShowSearch();
56	
57});

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.