1$(document).ready(function(){ 2 $('body').on('click','.nav-tabs li',function() { 3 $(this).closest('.nav-tabs').find('li').removeClass('active'); 4 $(this).addClass('active'); 5 }); 6 7 $('#shopaccordion .panel-heading a').each(function(){ 8 $(this).attr('data-bs-toggle','collapse'); 9 if($(this).attr('data-target') != '') { 10 $(this).attr('data-bs-target',$(this).attr('data-target')); 11 } 12 else if($(this).attr('href') != '') { 13 $(this).attr('data-bs-target',$(this).attr('href')); 14 } 15 }); 16 17 $('.nav-tabs a[data-toggle=tab]').each(function(){ 18 $(this).attr('data-bs-toggle','tab'); 19 if($(this).attr('data-target') != '') { 20 $(this).attr('data-bs-target',$(this).attr('data-target')); 21 } 22 else if($(this).attr('href') != '') { 23 $(this).attr('data-bs-target',$(this).attr('href')); 24 } 25 }); 26 27 $('*[data-toggle=dropdown]').each(function(){ 28 $(this).attr('data-bs-toggle','dropdown'); 29 }); 30 31 $('*[data-toggle=panel-collapse]').each(function(){ 32 $(this).attr('data-bs-toggle','panel-collapse'); 33 }); 34 35 $('.panel-group .panel-collapse.in').each(function(){ 36 $(this).addClass('show'); 37 }); 38 39 $('.nav-tabs a').each(function(){ 40 if($(this).closest('h3').length){ 41 for(attr of this.attributes) { 42 $(this).closest('h3').attr(attr.name, attr.value); 43 $(this).attr(attr.name,''); 44 } 45 $(this).attr('href','javascript:;'); 46 } 47 48 }); 49 50 if($('[data-bs-toggle=tooltip]').length) { 51 $('[data-bs-toggle=tooltip]').tooltip({ 52 placement:"top" 53 }); 54 } 55});
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.