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