1(function ($) { 2//added by sumon 3 $(document).on('mouseenter', '.mpeca_calender_area td', function () { 4 let parent = $(this).closest('.defaultLayout'); 5 if ($(this).find('.mp_date_exit_event').length > 0 && $(this).closest('td').find('.mp_date_exit_event_list').length>0) { 6 let height = $(this).closest('.mpeca_calender_area').prop('scrollHeight') + 20 + 'px'; 7 parent.css('min-height', height); 8 } else { 9 parent.css('min-height', 'auto'); 10 } 11 }); 12 $(document).on('mouseleave', '.mpeca_calender_area td', function (e) { 13 if (e.target !== $(this)) { 14 $(this).closest('.defaultLayout').css('min-height', 'auto'); 15 } 16 }); 17}(jQuery)); 18 19jQuery(document).ready(function ($) { 20 jQuery('.mep_calendar_view_seat_sec').on('click', function () { 21 let $this = jQuery(this); 22 var event_id = jQuery(this).data('id'); 23 var event_date = jQuery(this).data('date'); 24 jQuery.ajax({ 25 type: 'POST', 26 url: ajaxurl, 27 data: { 28 "action": "mep_calendar_ajax_show_availabe_seat", 29 "event_date": event_date, 30 "event_id": event_id 31 }, 32 beforeSend: function () { 33 $this.html('Loading..'); 34 }, 35 success: function (data) { 36 // alert(data); 37 $this.html(data); 38 $this.removeClass('mep_calendar_view_seat_sec'); 39 } 40 }); 41 return false; 42 }); 43});
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.