1"use strict"; 2function woof_init_acf_select() { 3 4 if (woof_select_type == 'chosen') { 5 jQuery("select.woof_acf_select").chosen(); 6 } else if (woof_select_type == 'selectwoo') { 7 jQuery("select.woof_acf_select").selectWoo(); 8 } 9 10 11 jQuery('.woof_acf_select').change(function () { 12 var slug = jQuery(this).val(); 13 var name = jQuery(this).attr('name'); 14 woof_acf_select_direct_search(this, name, slug); 15 }); 16} 17 18function woof_acf_select_direct_search(_this, name, slug) { 19 20 jQuery.each(woof_current_values, function (index, value) { 21 if (index == name) { 22 delete woof_current_values[name]; 23 return; 24 } 25 }); 26 27 if (slug != 0) { 28 woof_current_values[name] = slug; 29 } 30 31 woof_ajax_page_num = 1; 32 if (woof_autosubmit || jQuery(_this).within('.woof').length == 0) { 33 woof_submit_link(woof_get_submit_link()); 34 } 35 36} 37 38
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.