From 2bc33af52547566b04279c5f004636075e06d746 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 21 Oct 2020 18:48:30 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin.js b/public/static/admin.js index 94df0a845..f82100ea4 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -592,7 +592,7 @@ $(function () { element.on('click', 'i', function (tagText, tagIndex) { tagText = $(this).parent().text(), tagIndex = tags.indexOf(tagText); tags.splice(tagIndex, 1), $(this).parent().remove(), $this.val(tags.join(',')); - }), $box.append(element), $box.append($text); + }), $box.append(element, $text); }); } });