mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-27 08:09:49 +02:00
Follow-up to [50001], [50270], [50367], [50383], [50410], [50420], [50429], [50547]. Props chaion07, Clorith, costdev, desrosj, malthert, peterwilsoncc, presskopp, promz, sabernhardt, SergeyBiryukov, toro_unit, wpnomad. Fixes #51519. Built from https://develop.svn.wordpress.org/trunk@52285 git-svn-id: http://core.svn.wordpress.org/trunk@51877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
10 lines
310 B
JavaScript
10 lines
310 B
JavaScript
/**
|
|
* Twenty Fourteen Featured Content admin behavior: add a tag suggestion
|
|
* when changing the tag.
|
|
*/
|
|
/* global ajaxurl:true */
|
|
|
|
jQuery( function($) {
|
|
$( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
|
|
} );
|