mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-11 18:46:03 +09:00
1 line
353 B
JavaScript
1 line
353 B
JavaScript
function term_postback(e,a){"use strict";var t={action:"widget_selector",taxonomy:a};jQuery.post(displayfeaturedimagegenesis_ajax_object.ajax_url,t,(function(a){var t=jQuery.parseJSON(a),r=jQuery("#"+e),n=r.val();r.empty(),jQuery.each(t,(function(e,a){var t=jQuery("<option />").val(e).text(a);r.val(""),a===n&&r.val(n),r[e?"append":"prepend"](t)}))}))} |