Tags: Avoid a double trailing space after tags separator in auto-suggest.
Props afercia. Fixes #33881. git-svn-id: https://develop.svn.wordpress.org/trunk@35292 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2713768bb0
commit
0a614515ac
|
@ -177,7 +177,7 @@ var tagBox, array_unique_noempty;
|
|||
var tax = $(this).closest('div.tagsdiv').attr('id');
|
||||
$(this).suggest(
|
||||
ajaxurl + '?action=ajax-tag-search&tax=' + tax,
|
||||
{ delay: 500, minchars: 2, multiple: true, multipleSep: window.tagsBoxL10n.tagDelimiter + ' ' }
|
||||
{ delay: 500, minchars: 2, multiple: true, multipleSep: window.tagsBoxL10n.tagDelimiter }
|
||||
);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue