1/* global jQuery:false */ 2/* global YOKOO_STORAGE:false */ 3 4(function() { 5 "use strict"; 6 7 // Init skin-specific actions on first run 8 // Attention! Don't forget to add the class "inited" and check it to prevent re-initialize the elements 9 jQuery( document ).on( 10 'action.ready_yokoo', function() { 11 // mc4wp - id 12 if (jQuery( '.mc4wp-form-fields' ).length > 0) { 13 var count_mc4wp = 1; 14 jQuery( '.mc4wp-form-fields' ).each( 15 function () { 16 jQuery(this).find('input[type="checkbox"]').each( 17 function () { 18 var id = jQuery(this).attr( 'id' ); 19 if(id) {} 20 else { 21 id = 'go'; 22 } 23 jQuery(this).attr('id', id + count_mc4wp); 24 jQuery(this).next('label').attr('for', id + count_mc4wp); 25 count_mc4wp++; 26 }); 27 }); 28 } 29 } 30 ); 31 32 // Init skin-specific hidden elements when their parent container becomes visible 33 // Attention! Don't forget to add the class "inited" and check it to prevent re-initialize the elements 34 jQuery( document ).on( 35 'action.init_hidden_elements', function() { 36 37 } 38 ); 39 40 // Skin-specific scroll actions 41 jQuery( document ).on( 42 'action.scroll_yokoo', function() { 43 44 } 45 ); 46 47 // Skin-specific resize actions 48 jQuery( document ).on( 49 'action.resize_yokoo', function() { 50 51 } 52 ); 53 54})();
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.