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

git-svn-id: http://svn.automattic.com/wordpress/trunk@6577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-01-09 06:22:14 +00:00
parent 5b479b2994
commit ce0f9ad80b
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 } );
});