Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release/2.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKuehn committed Apr 27, 2019
2 parents de7ea80 + 1e53efb commit 13c2264
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@
- the export part of the module is only relevant for the npm based testing
- what actually loads the plugin into zotero is the `<script/>`-section in overlay.xul!
- i.e. you can just check for `window` and then write your UI callbacks whereever you want them to be
### Zotero
- the "Switch to single field" button saves the author name in the field "lastName"
- are you fucking shitting me? why the fuck would you do that?
- I guess I just can't assume that a field named "lastName" contains the authors last name m(
2 changes: 1 addition & 1 deletion chrome/content/scripts/zoteroscholarcitations.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ zsc.getCiteCount = function(responseText) {
let citeCountStart = responseText.indexOf(citePrefix);

if (citeCountStart === -1) {
if (responseText.indexOf('gs_rt') === -1)
if (responseText.indexOf('class="gs_rt"') === -1)
return -1;
else
return 0;
Expand Down
2 changes: 1 addition & 1 deletion install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RDF:about="urn:mozilla:install-manifest"
em:id="[email protected]"
em:name="Zotero Scholar Citations"
em:version="2.0.2"
em:version="2.0.3"
em:type="2"
em:creator="Anton Beloglazov"
em:description="Zotero plugin for auto-fetching numbers of citations from Google Scholar"
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zotero-scholar-citatations",
"version": "2.0.2",
"version": "2.0.3",
"bugs": {
"url": "https://github.com/MaxKuehn/zotero-scholar-citations/issues"
},
Expand Down

0 comments on commit 13c2264

Please sign in to comment.