1$(function () { 2 let firstTabTitle = '' 3 4 var $tabs = $('.pdf-tabs .pdf-tabs-header .pdf-tab') 5 var $panels = $('.pdf-tabs .pdf-tabs-content .pdf-panel') 6 7 if ($tabs.length > 0) { 8 $tabs.removeClass('active').first().addClass('active') 9 $panels.removeClass('active').first().addClass('active') 10 // è·å第ä¸ä¸ªdata-tab 11 firstTabTitle = $tabs.first().data('tab') 12 $('.collapsible-title').text(firstTabTitle) 13 } 14 15 $tabs.click(function () { 16 var target = $(this).data('tab') 17 firstTabTitle = target 18 $('.collapsible-title').text(firstTabTitle) 19 $tabs.removeClass('active') 20 $(this).addClass('active') 21 $panels.removeClass('active') 22 $('#' + target).addClass('active') 23 }) 24})
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.