9 lines
315 B
JavaScript
9 lines
315 B
JavaScript
/**
|
|
* Twenty Fourteen Featured Content admin behavior: add a tag suggestion
|
|
* when changing the tag.
|
|
*/
|
|
/* global ajaxurl:true */
|
|
( function( $ ) {
|
|
$( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
|
|
} )( jQuery );
|