Scaffold: Update year and add spacing in template (#2066)

This commit is contained in:
Abe Jellinek 2021-05-20 21:53:19 -07:00 committed by GitHub
parent 6e146181da
commit 06660d04f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2020 YOUR_NAME <- TODO
Copyright © 2021 YOUR_NAME <- TODO
This file is part of Zotero.
@ -37,7 +37,7 @@ function getSearchResults(doc, checkOnly) {
var items = {};
var found = false;
// TODO: adjust the CSS selector
var rows = doc.querySelectorAll('h2>a.title[href*="/article/"]');
var rows = doc.querySelectorAll('h2 > a.title[href*="/article/"]');
for (let row of rows) {
// TODO: check and maybe adjust
let href = row.href;