diff --git a/assets/js/post.js b/assets/js/post.js index 6b7d1b6..d96353b 100644 --- a/assets/js/post.js +++ b/assets/js/post.js @@ -35,7 +35,7 @@ document.addEventListener('DOMContentLoaded', function() { }); } // 给所有复制链接添加点击事件 - document.querySelectorAll('.text').forEach(link => { + document.querySelectorAll('.copy').forEach(link => { link.addEventListener('click', function(e) { e.preventDefault(); const textToCopy = this.getAttribute('data-copy') || this.textContent; diff --git a/index.php b/index.php index 040a5e7..5b7b39d 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ * 一款单栏主题. 移植自HUGO主题 Farallon 原作者 bigfa * @package Farallon * @author 老孙 - * @version 0.7.2 + * @version 0.7.3 * @link https://www.imsun.org */ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?> diff --git a/post.php b/post.php index a290f47..951fbd3 100644 --- a/post.php +++ b/post.php @@ -61,7 +61,9 @@ options->showshare): ?>