Increase delay for json_search_customers

Increases the delay for `woocommerce_json_search_customers` to 1000, to prevent a lot of unneeded queries from happening. 

Fixes #16805.
This commit is contained in:
Joost de Valk 2017-09-14 10:30:50 +02:00 committed by GitHub
parent 96b5c1fd53
commit 794aaefb04
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ jQuery( function( $ ) {
ajax: {
url: wc_enhanced_select_params.ajax_url,
dataType: 'json',
delay: 250,
delay: 1000,
data: function( params ) {
return {
term: params.term,