1jQuery( document ).ready( function( $ ) { 2 $( '.ecomus-size-guide-tabs' ).on( 'click', '.ecomus-size-guide-tabs__nav li', function() { 3 var $tab = $( this ), 4 index = $tab.data( 'target' ), 5 $panels = $tab.closest( '.ecomus-size-guide-tabs' ).find( '.ecomus-size-guide-tabs__panels' ), 6 $panel = $panels.find( '.ecomus-size-guide-tabs__panel[data-panel="' + index + '"]' ); 7 8 if ( $tab.hasClass( 'active' ) ) { 9 return; 10 } 11 12 $tab.addClass( 'active' ).siblings( 'li.active' ).removeClass( 'active' ); 13 14 if ( $panel.length ) { 15 $panel.addClass( 'active' ).siblings( '.ecomus-size-guide-tabs__panel.active' ).removeClass( 'active' ); 16 } 17 } ); 18} );
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.