1(function ($) { 2 'use strict'; 3 $(function () { 4 $('li.mc-events').children().not('.event-date').hide(); 5 $('li.current-day').children().show(); 6 $(document).on( 'click', '.event-date button', 7 function (e) { 8 e.preventDefault(); 9 var vevent = $( this ).closest( '.mc-events' ).find( '.vevent:first' ); 10 $( this ).closest( '.mc-events' ).find( '.vevent' ).toggle(); 11 vevent.attr('tabindex', '-1').trigger( 'focus' ); 12 var visible = $(this).closest( '.mc-events' ).find('.vevent').is(':visible'); 13 if ( visible ) { 14 $(this).attr('aria-expanded', 'true'); 15 } else { 16 $(this).attr('aria-expanded', 'false'); 17 } 18 }); 19 }); 20}(jQuery));
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.