Skip to content

Commit

Permalink
fix: progress window text bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangyu committed Mar 23, 2022
1 parent 5f750b4 commit 3b3d242
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion chrome/content/scripts/zoterotag.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,9 @@ Zotero.ZoteroTag = {
if (Zotero.ZoteroTag._updateCount == 0) {
return;
}
// Add/Remove is finished
if (operation == "change" && items.length == 1 && tags.length == 1) {
operation = items[0].hasTag(tags[0]) ? "remove" : "add";
operation = items[0].hasTag(tags[0]) ? "add" : "remove";
}
Zotero.ZoteroTag.showProgressWindow(
"SUCCESS",
Expand Down
4 changes: 2 additions & 2 deletions chrome/locale/en-US/overlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
<!ENTITY zotero.zoterotag.help.feedback.caption.label "Feedback">
<!ENTITY zotero.zoterotag.help.feedback.label "github">

<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag VERSION 0.1.5">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-22 10:34:44">
<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag VERSION 0.1.6">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-23 10:08:52">
4 changes: 2 additions & 2 deletions chrome/locale/zh-CN/overlay.dtd
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
<!ENTITY zotero.zoterotag.help.feedback.caption.label "意见反馈">
<!ENTITY zotero.zoterotag.help.feedback.label "github">

<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag 版本 0.1.5">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-22 10:34:44">
<!ENTITY zotero.zoterotag.help.version.label "ZoteroTag 版本 0.1.6">
<!ENTITY zotero.zoterotag.help.releasetime.label "2022-03-23 10:08:51">
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
RDF:about="urn:mozilla:install-manifest"
em:id="zoterotag@euclpts.com"
em:name="Zotero Tag"
em:version="0.1.5"
em:version="0.1.6"
em:type="2"
em:creator="windingwind"
em:description="One add-on to rule Tags all."
Expand Down
2 changes: 1 addition & 1 deletion update.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<rdf:Seq>
<rdf:li>
<rdf:Description>
<em:version>0.1.5</em:version>
<em:version>0.1.6</em:version>
<em:targetApplication>
<rdf:Description>
<em:id>zotero@chnm.gmu.edu</em:id>
Expand Down

0 comments on commit 3b3d242

Please sign in to comment.