1window.loadMoreFake = function loadMoreFake() { 2 // this is the button 3 // Find the list container relative to the button instead of via its id: 4 // the content-element anchor (<div class="clearer" id="cUID">) shares the 5 // same id as the list container, so jQuery('#cUID') would match the empty 6 // anchor first and break. closest('.std-list') always resolves correctly. 7 var parent = jQuery(this).closest('.std-list'); 8 if (!parent.length) { 9 return; 10 } 11 12 var list = parent.find('.list-more'); 13 var more = list.get(0); 14 if (!more) { 15 return; 16 } 17 var ul = parent.find('.news-list-view ul'); 18 ul.append(more.innerHTML); 19 20 if (list.length < 2) { 21 this.parentNode.parentNode.removeChild(this.parentNode); 22 } 23 24 more.parentNode.removeChild(more); 25};
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.