Skip to content
Why GitHub?
Features
→
Code review
Project management
Integrations
Actions
Package registry
Team management
Social coding
Documentation
Code hosting
Customer stories
→
Security
→
Enterprise
Explore
Explore GitHub
→
Learn & contribute
Topics
Collections
Trending
Learning Lab
Open source guides
Connect with others
Events
Community forum
GitHub Education
Marketplace
Pricing
Plans
→
Compare plans
Contact Sales
Nonprofit
→
Education
→
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
Watch
43
Star
388
Fork
310
zotero
/
translators
Code
Issues
248
Pull requests
98
Projects
0
Insights
Permalink
Browse files
checkbox support
Loading branch information
...
retorquere
committed
Apr 7, 2019
1 parent
af3c73c
commit
9d5feb1bf0c7be5df3329135a2ce8148743b68c7
Unified
Split
Showing
1 changed file
with
5 additions
and
1 deletion
.
+5
−1
PubMed Central.js
Show comments
View file
Edit file
Delete file
6
PubMed Central.js
@@ -106,7 +106,11 @@ function getSearchResults(doc, checkOnly) {
var
title
=
ZU
.
xpathText
(article,
'
.//div[@class="title"]
'
);
var
pdf
=
getPDF
(article,
'
.//div[@class="links"]/a
'
+
'
[@class="view" and contains(@href,".pdf")][1]
'
);
ids[pmcid[
1
]]
=
title;
const
cb
=
article
.
querySelector
(
'
input[type=checkbox]
'
);
ids[pmcid[
1
]]
=
{
title,
checked
:
cb
&&
cb
.
checked
,
};
found
=
true
;
Toggle all file notes
0 comments on commit
9d5feb1
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
0 comments on commit
9d5feb1