PageSourceSearch

https://www.waniyanpi.es/wp-content/plugins/wpbingo/assets/js/newsletter.js

js waniyanpi.es collected 2026-09-24 10:41:24 UTC 1,532 bytes, 56 lines download raw bytes

1/**
2 * Theme functions file
3 *
4 * Contains handlers for navigation, accessibility, header sizing
5 * footer widgets and Featured Content slider
6 *
7 */
8( function( $ ) {
9	"use strict";
10// Enable menu toggle for small screens.
11	$(document).ready(function() {
12		$('.newsletterpopup .close-popup').on( "click", function(){
13			_wpbingo_HideNLPopup();
14		});
15		$('.popupshadow').on( "click", function(){
16			_wpbingo_HideNLPopup();
17		});
18		$('input','.hidden-popup-newsletter').on( "click", function(){
19			_wpbingo_HideNLPopup();
20			$.cookie("petio_lpopup", 1, { expires : 24 * 60 * 60 * 1000 });
21		});		
22	});
23	/* Show/hide NewsLetter Popup */
24	$( window ).load(function() {
25		_wpbingo_ShowNLPopup();
26		_wpbingo_campbar();
27	});	
28	/* Function Show NewsLetter Popup */
29	function _wpbingo_ShowNLPopup() {
30		if($('.newsletterpopup').length){
31			var cookieValue = $.cookie("petio_lpopup");
32			if(cookieValue == 1) {
33				$('.newsletterpopup').hide();
34				$('.popupshadow').hide();
35			}else{
36				$('.newsletterpopup').show();
37				$('.popupshadow').show();
38			}				
39		}
40	}
41	/* Function Hide NewsLetter Popup when click on button Close */
42	function _wpbingo_HideNLPopup(){
43		$('.newsletterpopup').hide();
44		$('.popupshadow').hide();
45	}
46	function _wpbingo_campbar(){
47		$(".close-campbar").on( "click", function() {
48			$('.header-campbar').slideUp();
49			$.cookie("petio_campbar", 1, { expires : 24 * 60 * 60 * 1000 });
50		});
51		var cookieValue = $.cookie("petio_campbar");
52		if(cookieValue == 1) {
53			$('.header-campbar').hide();
54		}	
55	}	
56} )( 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.