wp/wp-content/themes/twentyfourteen/js/featured-content-admin.js
changeset 8 c7c34916027a
parent 7 cf61fcea0001
child 9 177826044cd9
equal deleted inserted replaced
7:cf61fcea0001 8:c7c34916027a
     1 /**
       
     2  * Twenty Fourteen Featured Content admin behavior: add a tag suggestion
       
     3  * when changing the tag.
       
     4  */
       
     5 /* global ajaxurl:true */
       
     6 
       
     7 jQuery( document ).ready( function( $ ) {
       
     8 	$( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
       
     9 });