Skip to content

Commit

Permalink
fix: #25 enable space in tags
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyu committed Jul 17, 2022
1 parent bd31a0b commit 37efcd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tags.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
export default {
getTagByGroup: function (group) {
if (typeof group === "undefined") {
return prompt("Enter tags, split by ',':", "")
.replace(/\s/g, "")
.split(",");
return prompt("Enter tags, split by ',':", "").split(",");
}
let rules = Zotero.ZoteroTag.rules();
let tags = [];
Expand Down

0 comments on commit 37efcd3

Please sign in to comment.