From 67898cfc524fb2b1197095e1d39d0839d2a2fc78 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 2 Mar 2022 15:05:32 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/static/admin.js b/public/static/admin.js index 6d5f0606d..3953e5345 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -980,8 +980,8 @@ $(function () { (function (content, $textarea) { $body.append($textarea.val(content)), $textarea.select(); document.execCommand('Copy') ? $.msg.tips('已复制到剪贴板!') : $.msg.tips('请使用鼠标操作复制!'); - $textarea.unselect(), $textarea.remove(); - })(this.dataset.copy, $('')); + $textarea.remove(); + })(this.dataset.copy, $('')); }); /*! 异步任务状态监听与展示 */