mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-18 16:45:31 +01:00
b7c5823bbf
Built from https://develop.svn.wordpress.org/trunk@26707 git-svn-id: http://core.svn.wordpress.org/trunk@26596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
10 lines
329 B
JavaScript
10 lines
329 B
JavaScript
/**
|
|
* Twenty Fourteen Featured Content admin behavior: add a tag suggestion
|
|
* when changing the tag.
|
|
*/
|
|
/* global ajaxurl:true */
|
|
|
|
jQuery( document ).ready( function( $ ) {
|
|
$( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
|
|
});
|