mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-03 09:21:03 +01:00
de86b02f42
git-svn-id: http://core.svn.wordpress.org/trunk@20705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
10 lines
270 B
JavaScript
10 lines
270 B
JavaScript
jQuery( function($) {
|
|
$( '#site-search-input' ).autocomplete({
|
|
source: ajaxurl + '?action=autocomplete-site',
|
|
delay: 500,
|
|
minLength: 2,
|
|
open: function(e, ui) { $(this).addClass('open'); },
|
|
close: function(e, ui) { $(this).removeClass('open'); }
|
|
});
|
|
});
|