From 06660d04f09181ad1a21560e9370815fe650edff Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 20 May 2021 21:53:19 -0700 Subject: [PATCH] Scaffold: Update year and add spacing in template (#2066) --- chrome/content/scaffold/templates/newWeb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/scaffold/templates/newWeb.js b/chrome/content/scaffold/templates/newWeb.js index 21105a0369..4fb4bc34e4 100644 --- a/chrome/content/scaffold/templates/newWeb.js +++ b/chrome/content/scaffold/templates/newWeb.js @@ -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;