featured-content-admin.js 329 B

123456789
  1. /**
  2. * Twenty Fourteen Featured Content admin behavior: add a tag suggestion
  3. * when changing the tag.
  4. */
  5. /* global ajaxurl:true */
  6. jQuery( document ).ready( function( $ ) {
  7. $( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
  8. });