PageSourceSearch

https://cinepassion34.fr/wp-content/themes/moview/js/main.js?ver=7.1.2

js cinepassion34.fr collected 2026-10-03 00:28:03 UTC 1,924 bytes, 60 lines download raw bytes

1/*global $:false */
2jQuery(document).ready(function($){'use strict';
3
4    // Sticky Nav
5    $(window).on('scroll', function(){
6        if ( $(window).scrollTop() > 0 ) {
7            $('#masthead').addClass('sticky');
8        } else {
9            $('#masthead').removeClass('sticky');
10        }
11    });
12	
13	// Social Share ADD
14	$('.prettySocial').prettySocial();
15
16    /* -------------------------------------- */
17    //      RTL Support Visual Composer
18    /* -------------------------------------- */    
19    var delay = 1;
20    function themeum_rtl() {
21        if( jQuery("html").attr("dir") == 'rtl' ){
22            if( jQuery( ".entry-content > div" ).attr( "data-vc-full-width" ) =='true' )    {
23                jQuery('.entry-content > div').css({'left':'auto','right':jQuery('.entry-content > div').css('left')}); 
24            }
25        }
26    }
27    setTimeout( themeum_rtl , delay);
28
29    jQuery( window ).resize(function() {
30        setTimeout( themeum_rtl , delay);
31    }); 	
32
33
34	/* -------------------------------------- */
35	// 	Product Single Page Plus Minus Button
36	/* -------------------------------------- */
37	if ($('.single-product-details').length) {
38		$('.single-product-details .quantity input[type="number"]').attr( 'type','text');
39		var html = '<button type="button" class="btn-minus">-</button>'+$('.quantity').html()+'<button type="button" class="btn-plus">+</button>';
40		$('.single-product-details .quantity').html(html);
41	}
42	
43	$('.btn-minus').on('click', function(event) { 'use strict';
44		var sp = $('.quantity input[name="quantity"]').val();
45		if( sp != 1 ){
46			$('.quantity input[name="quantity"]').attr( 'value', (parseInt(sp)-1) );
47		}
48	});
49	$('.btn-plus').on('click', function(event) { 'use strict';
50		var sp = $('.quantity input[name="quantity"]').val();
51		$('.quantity input[name="quantity"]').attr( 'value', (parseInt(sp)+1) );
52	});
53
54   
55      $("a[data-rel^='prettyPhoto']").prettyPhoto();
56
57
58
59
60});

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.