Skip to content

Commit

Permalink
fix #61
Browse files Browse the repository at this point in the history
  • Loading branch information
OpportunityLiu committed Jan 4, 2020
1 parent 9531b04 commit e7550aa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Binary file modified src/assets/tag.db
Binary file not shown.
8 changes: 4 additions & 4 deletions src/data/ui-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ const uiData: readonly DataMap[] = [
'Score ': '分数 ',
'Uploader Comment': '上传者评论',

'Vote+': '👍',
'Vote-': '👎',
'Vote+': '',
'Vote-': '',

'Vote Up': '👍',
'Vote Down': '👎',
'Vote Up': '',
'Vote Down': '',

'Show Tagged Galleries': '含有该标签的图库',
'Show Tag Definition': '显示标签介绍',
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/syringe/syringe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Syringe {
}

translateTag(node: Node): boolean {
if (node.nodeName !== '#text' || !node.parentElement) {
if (!isText(node) || !node.parentElement) {
return false;
}
const parentElement = node.parentElement;
Expand Down

0 comments on commit e7550aa

Please sign in to comment.