Skip to content

Commit

Permalink
fix: #34
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyu committed Jul 21, 2022
1 parent f44b0e3 commit 0c5921c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ addRule = function () {
let rule = {};
rule.id = -1;
const tags = document
.getElementById(`zoterotag-rules-${id}-tags`)
.getElementById(`zoterotag-rules-#-tags`)
.value.split(",");
rule.tags = tags.filter((tag) => tag.slice(0, 2) !== "~~");
rule.untags = tags
Expand Down

0 comments on commit 0c5921c

Please sign in to comment.