1jQuery(document).ready(function($){ 2 3 $(".ef-modal .ef-close a").addClass('et_smooth_scroll_disabled'); 4 5 $(".ef-staff .et_pb_team_member").click(function(e){ 6 e.preventDefault(); 7 var linkedBio = $(this).find(".et_pb_team_member_description"); 8 var linkedPhoto = $(this).find(".et_pb_team_member_image"); 9 10 $(".ef-modal").addClass("open"); 11 $(linkedPhoto).clone().appendTo('.ef-modal-body'); 12 $(linkedBio).clone().appendTo('.ef-modal-body'); 13 14 $(".ef-modal .ef-close a").click(function(e){ 15 e.preventDefault(); 16 $(".ef-modal").removeClass("open"); 17 $('.ef-modal-body .et_pb_team_member_description').remove(); 18 $('.ef-modal-body .et_pb_team_member_image').remove(); 19 }); 20 }); 21 $(document).click(function(event) { 22 if (!$(event.target).closest(".ef-modal .et_pb_column, .ef-staff .et_pb_team_member").length) { 23 $("body").find(".ef-modal").removeClass("open"); 24 $('.ef-modal-body .et_pb_team_member_description').remove(); 25 $('.ef-modal-body .et_pb_team_member_image').remove(); 26 } 27 }); 28 29 30}); 31 32 33(function($) { 34 function setup_collapsible_submenus() { 35 $( "<div class='sub-menu-toggle'></div>" ).insertBefore( "#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a" ); 36 $( "#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle" ).click(function () { 37 $(this).toggleClass("popped"); 38 }); 39 } 40 $(document).ready(function() { 41 setup_collapsible_submenus(); 42 }); 43 $(window).load(function() { 44 setup_collapsible_submenus(); 45 }); 46})(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.