1(function ($) { 2 'use strict'; 3 $(function () { 4 $(".calendar-event").children().not(".event-title").hide(); 5 $(document).on("click", ".calendar-event .event-title", 6 function (e) { 7 e.preventDefault(); // remove line if you are using a link in the event title 8 var current_date = $(this).parent().children(); 9 $(this).parent().children().not(".event-title").toggle().attr("tabindex", "-1"); 10 $(this).parent().focus(); 11 $(".calendar-event").children().not(".event-title").not( current_date ).hide(); 12 }); 13 $(document).on("click", ".calendar-event .close", 14 function (e) { 15 e.preventDefault(); 16 $(this).closest(".vevent").find(".event-title a").focus(); 17 $(this).closest("div.details").toggle(); 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.