From 42cbedd4f528d52099ab271d94d8b81c6346dd24 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 2 Mar 2022 15:01:42 +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 e784018ee..6d5f0606d 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -980,7 +980,7 @@ $(function () { (function (content, $textarea) { $body.append($textarea.val(content)), $textarea.select(); document.execCommand('Copy') ? $.msg.tips('已复制到剪贴板!') : $.msg.tips('请使用鼠标操作复制!'); - $textarea.remove(), $textarea.unselect(); + $textarea.unselect(), $textarea.remove(); })(this.dataset.copy, $('')); });