PageSourceSearch

https://www.mours.fr/wp-content/themes/novacity-saas/assets/js/search-fullscreen.js?ver=1784101051

js mours.fr collected 2026-10-02 21:48:18 UTC 886 bytes, 36 lines download raw bytes

1//
2// search-fullscreen.js
3// Theme module
4//
5'use strict';
6
7( function( $ ) {
8 	
9	var $searchFullscreen = $( '#search-fullscreen' );
10
11	function closeSearch() {
12		$searchFullscreen.removeClass( 'open' )
13		$( 'body' ).removeClass( 'search-is-open' )
14		$( document ).off( 'keyup' )
15		$searchFullscreen.find( '.form-control' ).blur()
16	}
17
18	$( '[data-toggle="search-fullscreen"]' ).on( 'click', function ( event ) {
19		event.preventDefault();
20		$( 'body' ).addClass( 'search-is-open' );
21		$searchFullscreen.addClass( 'open' ).find( '.form-control' ).focus();
22
23		$( document ).on( 'keyup', function ( evt ) {
24			if ( evt.keyCode == 27 ) {
25				closeSearch();
26			}
27		} );
28	} );
29
30	$searchFullscreen.on( 'click', function ( event ) {
31		if ( event.target == this || event.target.className == 'close' || $( event.target ).parents().hasClass( 'close' ) ) {
32			closeSearch();
33		}
34	} );
35
36} )( 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.