1var initHomePageTwoCol = function () { 2 3 // Two Col Block JS 4 5 if ($('.two-col-block').length) { 6 $('.two-col-block .two-col-list li').each(function () { 7 $(this).on('click keypress', function (e) { 8 9 var anchor = $(this).find('> a'); 10 11 if (anchor.hasClass('active') && $(window).width() > 640) { 12 //Do nothing, 1 needs to always show 13 } else { 14 if (anchor.hasClass('active')) { 15 $('.two-col-block .two-col-list li a').removeClass('active'); 16 $('.two-col-block .content-section').removeClass('active'); 17 } else { 18 $('.two-col-block .two-col-list li a').removeClass('active'); 19 $('.two-col-block .content-section').removeClass('active'); 20 $(anchor.addClass('active')); 21 var slideId = $(anchor).data('slide'); 22 23 $('.two-col-block .content-section').each(function () { 24 if ($(this).data('slide') == slideId) { 25 $(this).addClass('active'); 26 } 27 }); 28 } 29 } 30 31 $(document).foundation('equalizer', 'reflow'); 32 }); 33 }); 34 } 35 // End of Two Col Block JS 36}
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.