Skip to content

Commit e7550aa

Browse files
fix #61
1 parent 9531b04 commit e7550aa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/assets/tag.db

1.02 KB
Binary file not shown.

src/data/ui-data.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ const uiData: readonly DataMap[] = [
5353
'Score ': '分数 ',
5454
'Uploader Comment': '上传者评论',
5555

56-
'Vote+': '👍',
57-
'Vote-': '👎',
56+
'Vote+': '',
57+
'Vote-': '',
5858

59-
'Vote Up': '👍',
60-
'Vote Down': '👎',
59+
'Vote Up': '',
60+
'Vote Down': '',
6161

6262
'Show Tagged Galleries': '含有该标签的图库',
6363
'Show Tag Definition': '显示标签介绍',

src/plugin/syringe/syringe.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ class Syringe {
169169
}
170170

171171
translateTag(node: Node): boolean {
172-
if (node.nodeName !== '#text' || !node.parentElement) {
172+
if (!isText(node) || !node.parentElement) {
173173
return false;
174174
}
175175
const parentElement = node.parentElement;

0 commit comments

Comments
 (0)