1jQuery(document).ready(function($) { 2 3 // $('span.view-all').click(function () { 4 // $('#datalist .lp-blog-grid-box:hidden').slice(0, 3).show(); 5 // if ($('#datalist .lp-blog-grid-box').length == $('#datalist .lp-blog-grid-box:visible').length) { 6 // $('span').hide(); 7 // } 8 // }); 9 10 jQuery.get("https://ipapi.co/json", function(location) { 11 //console.log(location.latitude); 12 //console.log(location.longitude); 13 var latitude = location.latitude; 14 var longitude = location.longitude; 15 $('#homepage-features #loading').css('display', 'block'); 16 jQuery.ajax({ 17 type:'POST', 18 url:tte_ajax_object.ajax_url, 19 data:"action=listingkvell&latitude="+latitude+"&longitude="+longitude, 20 success:function(response){ 21 //console.log(response);return false; 22 var resulted = JSON.parse(response); 23 $('#homepage-features #loading').css('display', 'none'); 24 $('#homepage-features .arrange').html(resulted.html); 25 } 26 }) 27 }, "json"); 28 29 30 // mobileOnlySlider(".mySlider", true, false, 767); 31 // 32 // function mobileOnlySlider($slidername, $dots, $arrows, $breakpoint) { 33 // var slider = jQuery($slidername); 34 // var settings = { 35 // mobileFirst: true, 36 // dots: $dots, 37 // autoplay:true, 38 // autoplaySpeed:2000, 39 // arrows: $arrows, 40 // responsive: [ 41 // { 42 // breakpoint: 480, 43 // settings: "unslick" 44 // } 45 // ] 46 // }; 47 // //console.log(settings);return false; 48 // 49 // slider.slick(settings); 50 // 51 // jQuery(window).on("resize", function () { 52 // if (jQuery(window).width() > $breakpoint) { 53 // return; 54 // } 55 // if (!slider.hasClass("slick-initialized")) { 56 // return slider.slick(settings); 57 // } 58 // }); 59 // } // Mobile Only Slider 60 61 62 63}); 64 65 66 67
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.