web/wp-includes/js/jquery/suggest.dev.js
changeset 194 32102edaa81b
parent 136 bde1974c263b
equal deleted inserted replaced
193:2f6f6f7551ca 194:32102edaa81b
   118 			var q = $.trim($input.val()), multipleSepPos, items;
   118 			var q = $.trim($input.val()), multipleSepPos, items;
   119 
   119 
   120 			if ( options.multiple ) {
   120 			if ( options.multiple ) {
   121 				multipleSepPos = q.lastIndexOf(options.multipleSep);
   121 				multipleSepPos = q.lastIndexOf(options.multipleSep);
   122 				if ( multipleSepPos != -1 ) {
   122 				if ( multipleSepPos != -1 ) {
   123 					q = q.substr(multipleSepPos + options.multipleSep.length);
   123 					q = $.trim(q.substr(multipleSepPos + options.multipleSep.length));
   124 				}
   124 				}
   125 			}
   125 			}
   126 			if (q.length >= options.minchars) {
   126 			if (q.length >= options.minchars) {
   127 
   127 
   128 				cached = checkCache(q);
   128 				cached = checkCache(q);