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:
Sergey Biryukov 2015-10-20 15:59:01 +00:00
parent 2713768bb0
commit 0a614515ac
1 changed files with 1 additions and 1 deletions

View File

@ -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 }
);
});