1/* 2 * Frontend JS Script 3 * Version : 1.0.7 4 */ 5jQuery(document).ready(function($) { 6 7 $('.etab-label').each(function() { 8 if( $(this).hasClass('etab-active-show')){ 9 var unique_id = $(this).parent().attr('data-id'); 10 var id= $(this).attr('id'); 11 $(this).closest('.etab-sc-main-wrapper').find('.'+unique_id+'.'+id).addClass("etab-active-content"); 12 } 13 }); 14 15 /* 16 * On Click Tab 17 */ 18 $(".etab-trigger-on_click").on('click', '.etab-label',function(){ 19 if(!$(this).hasClass('etab-active-show')){ 20 var tabtype = $(this).find('a').attr('data-tabtype'); 21 if(tabtype == "component_type"){ 22 var tab_id = $(this).attr('id'); 23 var tab_parent_id = $(this).parent().data('id'); 24 25 $(this).siblings().removeClass('etab-active-show'); 26 $(this).addClass("etab-active-show"); 27 $(this).closest('.etab-sc-main-wrapper').find('.etab-content-section.'+tab_parent_id).removeClass('etab-active-content'); 28 $(this).closest('.etab-sc-main-wrapper').find('.'+tab_id).addClass("etab-active-content"); 29 } 30 } 31 }); 32 });
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.