1$(document).ready(function() { 2 3 $('body').on('click', 'a.navigate-to-chapter, a.navigate-to-question', function(e) { 4 e.preventDefault(); 5 e.stopImmediatePropagation(); 6 7 const thisElement = $(this); 8 let endpoint; 9 10 if (thisElement.hasClass('navigate-to-chapter')) { 11 endpoint = '/HelpChapters/ajax_get_content/' + thisElement.attr('data-chapter-id'); 12 } else if (thisElement.hasClass('navigate-to-question')) { 13 endpoint = '/HelpQuestions/ajax_get_content/' + thisElement.attr('data-question-id'); 14 } 15 16 updateHelpContent(endpoint); 17 }); 18 19 function updateHelpContent(endpoint) { 20 $('#help-content').fadeTo(300, 0); 21 22 $.get(endpoint, function(result) { 23 $('#help-content').html(result).fadeTo(300, 1); 24 }); 25 } 26 27});
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.