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:
parent
5b479b2994
commit
ce0f9ad80b
|
@ -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 } );
|
||||
});
|
Loading…
Reference in New Issue