1jQuery(function($){ 2 if(typeof true_posts !== 'undefined'){ 3 $(window).scroll(function(){ 4 var bottomOffset = 1200; // оÑÑÑÑп Ð¾Ñ Ð½Ð¸Ð¶Ð½ÐµÐ¹ гÑаниÑÑ ÑайÑа, до коÑоÑого должен доÑкÑоллиÑÑ Ð¿Ð¾Ð»ÑзоваÑелÑ, ÑÑÐ¾Ð±Ñ Ð¿Ð¾Ð´Ð³ÑÑзилиÑÑ Ð½Ð¾Ð²Ñе поÑÑÑ 5 var data = { 6 'action': 'loadmore', 7 'query': true_posts, 8 'page' : current_page 9 }; 10 if( $(document).scrollTop() > ($(document).height() - bottomOffset) && !$('body').hasClass('loading')){ 11 $.ajax({ 12 url:'/wp-admin/admin-ajax.php', 13 data:data, 14 type:'POST', 15 beforeSend: function( xhr){ 16 $('body').addClass('loading'); 17 }, 18 success:function(data){ 19 if( data ) { 20 $('#true_loadmore').before(data); 21 $('body').removeClass('loading'); 22 current_page++; 23 } 24 } 25 }); 26 } 27 }); 28 } 29});
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.