Skip to content

Commit

Permalink
🐛 fix: 只看楼主显示 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dlzmoe committed Sep 14, 2024
1 parent a50f1c0 commit 2b91550
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
- 修复:回复按钮只有在帖子内才显示
- 修复:屏蔽关键词优化
- 修复:只看楼主显示 bug。
6 changes: 2 additions & 4 deletions dist/linuxdo-scripts.user.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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";
Expand Down Expand Up @@ -4286,10 +4286,8 @@ ${topic_contentdata}`;
setInterval(() => {
if (window.location.href.includes("/topic/")) {
$(".replaybtn").show();
$(".lookopbtn").show();
} else {
$(".replaybtn").hide();
$(".lookopbtn").hide();
}
}, 1e3);
} else {
Expand Down
6 changes: 2 additions & 4 deletions linuxdo-scripts.user.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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";
Expand Down Expand Up @@ -4286,10 +4286,8 @@ ${topic_contentdata}`;
setInterval(() => {
if (window.location.href.includes("/topic/")) {
$(".replaybtn").show();
$(".lookopbtn").show();
} else {
$(".replaybtn").hide();
$(".lookopbtn").hide();
}
}, 1e3);
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 0 additions & 2 deletions src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -505,10 +505,8 @@ export default {
setInterval(() => {
if (window.location.href.includes("/topic/")) {
$(".replaybtn").show();
$(".lookopbtn").show();
} else {
$(".replaybtn").hide();
$(".lookopbtn").hide();
}
}, 1000);
} else {
Expand Down
4 changes: 4 additions & 0 deletions version-log.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.37

- 修复:只看楼主显示 bug。

## 0.3.36

- 修复:回复按钮只有在帖子内才显示
Expand Down

0 comments on commit 2b91550

Please sign in to comment.