X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7c1a4aea7aeb083c7424823d11f24401edcba439..699231ae09f7057a4d0000cdf32e50a3df6a04ca:/wp-includes/js/jquery/suggest.dev.js diff --git a/wp-includes/js/jquery/suggest.dev.js b/wp-includes/js/jquery/suggest.dev.js index e76c811e..7f46cbc6 100644 --- a/wp-includes/js/jquery/suggest.dev.js +++ b/wp-includes/js/jquery/suggest.dev.js @@ -120,7 +120,7 @@ if ( options.multiple ) { multipleSepPos = q.lastIndexOf(options.multipleSep); if ( multipleSepPos != -1 ) { - q = q.substr(multipleSepPos + options.multipleSep.length); + q = $.trim(q.substr(multipleSepPos + options.multipleSep.length)); } } if (q.length >= options.minchars) {