1jQuery(document).ready(function($) { 2 $(document).on( 'click', '.immomakler-load-more', function() { 3 var button = $(this); 4 var queryState = button.data('loadmore').query; 5 var spinner = button.find('.immomakler-spinner'); 6 spinner.show(); 7 button.attr("disabled","disabled"); 8 $.ajax({ 9 url: button.data('loadmore').endpoint, 10 data: queryState 11 }).done(function(response) { 12 spinner.hide(); 13 if ($(response).has('.property').length || $(response).filter('.property').length) { 14 button.closest('.immomakler-shortcode-archive').find('.properties').append(response); 15 queryState.offset = queryState.offset + queryState.posts_per_page; 16 button.removeAttr("disabled"); 17 } else { 18 button.fadeOut(); 19 } 20 }); 21 }); 22});
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.