From a1d1e18250f9da241732577680286312e1495913 Mon Sep 17 00:00:00 2001 From: filesite Date: Sun, 16 Jun 2024 09:52:59 +0800 Subject: [PATCH] share content update --- themes/tajian/views/my/share.php | 6 ++---- www/js/tajian.js | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/themes/tajian/views/my/share.php b/themes/tajian/views/my/share.php index 9580505..bb9fc46 100644 --- a/themes/tajian/views/my/share.php +++ b/themes/tajian/views/my/share.php @@ -13,10 +13,8 @@ $shareUrl = "{$linkPrefix}/";
- +

点下面按钮复制分享内容,在微信、QQ等App里粘贴发给朋友。

diff --git a/www/js/tajian.js b/www/js/tajian.js index 1e7d89b..f2b03eb 100644 --- a/www/js/tajian.js +++ b/www/js/tajian.js @@ -589,9 +589,6 @@ if ($('#favmg').get(0)) { // 分享收藏夹 if ($('#share_form').get(0)) { - var share_content = $('#share_form textarea').val(); - $('#share_form textarea').val(location.protocol + '//' + location.host + (location.port ? ':' + location.port : '') + share_content); - var clipboard = new ClipboardJS('#share_form .jsbtn'); clipboard.on('success', function(e) {