Put a delay on the suggestion, and minimum length. Hat tip: DerFichtl.

git-svn-id: https://develop.svn.wordpress.org/trunk@6577 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2008-01-09 06:22:14 +00:00
parent 10c5ce2771
commit 5d902868bc
1 changed files with 1 additions and 1 deletions

View File

@ -73,5 +73,5 @@ addLoadEvent( function() {
});
// auto-suggest stuff
jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text } );
jQuery('#newtag').suggest( 'admin-ajax.php?action=ajax-tag-search', { onSelect: tag_flush_to_text, delay: 500, minchars: 2 } );
});