1jQuery(document).foundation(); 2/* 3These functions make sure WordPress 4and Foundation play nice together. 5*/ 6 7jQuery(document).ready(function() { 8 9 // Remove empty P tags created by WP inside of Accordion and Orbit 10 jQuery('.accordion p:empty, .orbit p:empty').remove(); 11 12 // Makes sure last grid item floats left 13 jQuery('.archive-grid .columns').last().addClass( 'end' ); 14 15 // Adds Flex Video to YouTube and Vimeo Embeds 16 jQuery('iframe[src*="youtube.com"], iframe[src*="vimeo.com"]').wrap("<div class='flex-video'/>"); 17 18 // MKG030320 when 2020 brochure downloaded, send GA event 19 jQuery('.download-block .download_pdf').click(function(){ 20 if (window.location.pathname == "/see-and-do/attractions/download/") { 21 ga('send', 'event', 'Brochure-See-Do', 'Downloaded', 'See And Do'); 22 } 23 }); 24});
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.