From 0a614515ac76d5dfab223cf18d0dfd5da9130ed6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Oct 2015 15:59:01 +0000 Subject: [PATCH] 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 --- src/wp-admin/js/tags-box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/tags-box.js b/src/wp-admin/js/tags-box.js index 9535255738..af823ac4e6 100644 --- a/src/wp-admin/js/tags-box.js +++ b/src/wp-admin/js/tags-box.js @@ -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 } ); });