mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
10c5ce2771
commit
5d902868bc
@ -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
Block a user