Skip to content

Commit

Permalink
updated header tag in xpath
Browse files Browse the repository at this point in the history
bartek kawula committed Feb 5, 2021
1 parent eb98401 commit 19fbfc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Scholars Portal Journals.js
Original file line number Diff line number Diff line change
@@ -9,13 +9,13 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2020-10-22 19:09:18"
"lastUpdated": "2021-02-05 18:25:57"
}

/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2020 Bartek Kawula
Copyright © 2021 Bartek Kawula
This file is part of Zotero.
@@ -123,7 +123,7 @@ function getItems(doc) {
titles = ZU.xpath(doc, './/div/h3/a');
}
else {
titles = ZU.xpath(doc.getElementById('result-list'), './/div[@class = "details"]/h2/a');
titles = ZU.xpath(doc.getElementById('result-list'), './/div[@class = "details"]/h3/a');
}
for (let i = 0; i < titles.length; i++) {
let title = ZU.trimInternal(titles[i].textContent);

0 comments on commit 19fbfc7

Please sign in to comment.