From 2b915501b030e0dc9b586d5ca412b122314abf2e Mon Sep 17 00:00:00 2001 From: 98zi Date: Sat, 14 Sep 2024 22:14:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20=E5=8F=AA=E7=9C=8B?= =?UTF-8?q?=E6=A5=BC=E4=B8=BB=E6=98=BE=E7=A4=BA=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +-- dist/linuxdo-scripts.user.js | 6 ++---- linuxdo-scripts.user.js | 6 ++---- package.json | 2 +- src/app.vue | 2 -- version-log.md | 4 ++++ 6 files changed, 10 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6035b6..928fdb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1 @@ -- 修复:回复按钮只有在帖子内才显示 -- 修复:屏蔽关键词优化 \ No newline at end of file +- 修复:只看楼主显示 bug。 \ No newline at end of file diff --git a/dist/linuxdo-scripts.user.js b/dist/linuxdo-scripts.user.js index eacffe4..d0674ad 100644 --- a/dist/linuxdo-scripts.user.js +++ b/dist/linuxdo-scripts.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name linuxdo 增强插件 // @namespace https://github.com/dlzmoe/linuxdo-scripts -// @version 0.3.36 +// @version 0.3.37 // @author dlzmoe // @description linux.do 增强插件,功能持续更新,欢迎提出新想法! // @license Apache-2.0 @@ -21,7 +21,7 @@ 'use strict'; const name = "linuxdo-scripts"; - const version = "0.3.36"; + const version = "0.3.37"; const author = "dlzmoe"; const description = "An enhanced script for the linux.do forum"; const type = "module"; @@ -4286,10 +4286,8 @@ ${topic_contentdata}`; setInterval(() => { if (window.location.href.includes("/topic/")) { $(".replaybtn").show(); - $(".lookopbtn").show(); } else { $(".replaybtn").hide(); - $(".lookopbtn").hide(); } }, 1e3); } else { diff --git a/linuxdo-scripts.user.js b/linuxdo-scripts.user.js index eacffe4..d0674ad 100644 --- a/linuxdo-scripts.user.js +++ b/linuxdo-scripts.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name linuxdo 增强插件 // @namespace https://github.com/dlzmoe/linuxdo-scripts -// @version 0.3.36 +// @version 0.3.37 // @author dlzmoe // @description linux.do 增强插件,功能持续更新,欢迎提出新想法! // @license Apache-2.0 @@ -21,7 +21,7 @@ 'use strict'; const name = "linuxdo-scripts"; - const version = "0.3.36"; + const version = "0.3.37"; const author = "dlzmoe"; const description = "An enhanced script for the linux.do forum"; const type = "module"; @@ -4286,10 +4286,8 @@ ${topic_contentdata}`; setInterval(() => { if (window.location.href.includes("/topic/")) { $(".replaybtn").show(); - $(".lookopbtn").show(); } else { $(".replaybtn").hide(); - $(".lookopbtn").hide(); } }, 1e3); } else { diff --git a/package.json b/package.json index 70e1e99..34d3002 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "linuxdo-scripts", - "version": "0.3.36", + "version": "0.3.37", "author": "dlzmoe", "description": "An enhanced script for the linux.do forum", "type": "module", diff --git a/src/app.vue b/src/app.vue index 47e0ade..3f87f3c 100644 --- a/src/app.vue +++ b/src/app.vue @@ -505,10 +505,8 @@ export default { setInterval(() => { if (window.location.href.includes("/topic/")) { $(".replaybtn").show(); - $(".lookopbtn").show(); } else { $(".replaybtn").hide(); - $(".lookopbtn").hide(); } }, 1000); } else { diff --git a/version-log.md b/version-log.md index 3651a89..71304a8 100644 --- a/version-log.md +++ b/version-log.md @@ -1,3 +1,7 @@ +## 0.3.37 + +- 修复:只看楼主显示 bug。 + ## 0.3.36 - 修复:回复按钮只有在帖子内才显示