PageSourceSearch

https://www.greatkosherrestaurants.com/wp-content/themes/hello-theme-child-master/js/custom.js?ver=1790419994

js greatkosherrestaurants.com collected 2026-09-26 11:06:47 UTC 2,439 bytes, 73 lines download raw bytes

1jQuery('#recentMenu, #menuAL, #menuMZ').on('change', function() {
2     const data = jQuery(this).val();
3     if(data){
4         window.open(data,'_blank');
5     }
6 })
7jQuery(document).on('change','#questionsComment', function() {
8//     console.log('enter');
9     const data = jQuery(this).val();
10     if(data){
11        window.location.href = data;
12     }
13 })
14
15//  Single thumbnail gallery 
16jQuery(function(){
17     const thum_imgs = jQuery('.single.single-wpbdp_listing .listing-images .other-images .thumb_item img');
18     if(thum_imgs){
19          const img_container = jQuery('.listing-images .current-image img');
20          const loader = jQuery('.thumb_loader');
21          img_container.load(function() {
22               jQuery(this).fadeIn(); 
23               loader.hide();
24          });
25          thum_imgs.each((key,val) => {
26               jQuery(val).on('click', function(){
27                    loader.show();
28                    var imgsrc= jQuery(this).attr('src');
29                    var imgkey = jQuery(this).attr('data-key');
30                    var imgsrcset= jQuery(this).attr('srcset');
31                    img_container.attr('src',imgsrc);
32                    img_container.attr('srcset',imgsrcset);
33                    img_container.attr('data-key',imgkey);
34               });
35          })
36     }
37});
38//for zip array
39jQuery( document ).ready(function() {
40     if (window.location.href.indexOf("zip") > -1) {
41          jQuery('#wpbdp-search-form #wpbdp-field-10').val('');
42      }
43
44      //website icon
45      let aval = jQuery('.website a').html();
46      if (aval.includes('https')) {
47         aval = aval.replace("https://www", "www");
48         aval = aval.replace("https://", "www.");
49      }else if(aval.includes('http')) {
50          aval = aval.replace("http://www", "www");
51          aval = aval.replace("http://", "www.");
52      }
53      jQuery('.website a').html(aval);
54
55
56 });
57
58
59 jQuery(document).ready(function(){
60
61     jQuery('.listings.wpbdp-listings-list .wpbdp-field-website .value a').each(function(inx,ele) {
62          var url = jQuery(ele).html();
63          if (url.includes('https')) {
64               url = url.replace("https://www", "www");
65               url = url.replace("https://", "www.");
66          }else if(url.includes('http')) {
67               url = url.replace("http://www", "www");
68               url = url.replace("http://", "www.");
69          }
70          jQuery(ele).html(url);
71     });
72
73 })

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.