1($ => { 2 'use strict'; 3 4 const ready_function = () => { 5 let show_extra; 6 7 init(); 8 9 async function init() { 10 show_extra = false; 11 } 12 13 $('body').on('click', '.ttd-topics-show-extra-button', function() { 14 show_extra = !show_extra; 15 16 const $show_extra_button = $('.ttd-topics-show-extra-button'); 17 const $hidden_entities = $('.ttd-extra-links'); 18 19 $show_extra_button.text(show_extra ? 'Less' : 'More'); 20 21 $hidden_entities.each(function() { // Removed duplicate parameters here 22 const $element = $(this); 23 24 if (show_extra) { 25 $element.removeClass('ttd-topics-display-hidden'); 26 } else { 27 $element.addClass('ttd-topics-display-hidden'); 28 } 29 }); 30 }); 31 }; 32 33 $(ready_function); 34 35})(jQuery);
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.