1jQuery(function ($) { 2 "use strict"; 3 $(".radiantthemes_loadmore").click(function () { 4 var button = $(this), 5 data = { 6 action: "loadmore", 7 query: radiantthemes_loadmore_params.posts, 8 page: radiantthemes_loadmore_params.current_page, 9 }; 10 $.ajax({ 11 url: radiantthemes_loadmore_params.ajaxurl, 12 data: data, 13 type: "POST", 14 beforeSend: function (xhr) { 15 $(".t").show(); 16 button.html( 17 'load more ..<img style="" src="/wp-content/themes/softek/assets/images/loder.gif">' 18 ); 19 }, 20 success: function (data) { 21 if (data) { 22 $(".t").hide(); 23 $(".radiantthemes_loadmore").show(); 24 button.text("load more...").prev().after(data); 25 radiantthemes_loadmore_params.current_page++; 26 if ( 27 radiantthemes_loadmore_params.current_page == 28 radiantthemes_loadmore_params.max_page 29 ) 30 button.remove(); 31 } else { 32 button.remove(); 33 } 34 }, 35 }); 36 }); 37});
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.