1/** 2 * Show/Hide Search on narrow layouts 3 */ 4(function ($) { 5 "use strict"; 6 7 $( document ).ready(function() { 8 var other_fields = '#gform_widget-3 .gfield_radio > li:last-child, ' + 9 '#gform_widget-5 .gfield_radio > li:last-child, ' + 10 'body.page-id-48781 #input_3_1 > li:last-child, ' + 11 'body.page-id-48781 #input_3_9 > li:last-child'; 12 13 $(other_fields).each(function() { 14 var $txtField = $(this).children('input[type="text"]'), 15 $parent = $(this); 16 17 $txtField 18 .focus(function() { 19 $parent.addClass('selected'); 20 }) 21 .blur(function() { 22 $parent.removeClass('selected'); 23 }); 24 }); 25 }); 26 27 // Next on Page 1 28 $("#gform_next_button_3_18").on( "click", function() { 29 if (typeof(__gaTracker) == 'function'){ 30 __gaTracker('send', 'pageview','/donate/page-two'); 31 } 32 }); 33 // Next on Page 2 34 $("#gform_next_button_3_19").on( "click", function() { 35 if (typeof(__gaTracker) == 'function'){ 36 __gaTracker('send', 'pageview','/donate/page-three'); 37 } 38 }); 39 // Next on Page 3 40 $("#gform_submit_button_3").on( "click", function() { 41 if (typeof(__gaTracker) == 'function'){ 42 __gaTracker('send', 'pageview','/donate/complete'); 43 } 44 }); 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.