From 8a0fd7d3d52159dc9396170486ec1e3aa4013d4e Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 2 Jan 2021 13:16:33 +0100 Subject: [PATCH] Fix-update Toronto Star (author) --- changelog.txt | 1 + contentScript.js | 2 +- manifest.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index a3771f6..699f17d 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,6 +6,7 @@ Add La Vanguardia (Spain) Fix-update Belfast Telegraph/Independent.ie (amp) Fix-update Gestion & El Comercio (Peru) Fix-update SeekingAlpha (amp) +Fix-update Toronto Star (author) Update hold on to consent-cookie * v2.0.1.0 (2020-12-27) diff --git a/contentScript.js b/contentScript.js index 42d8213..89851a7 100644 --- a/contentScript.js +++ b/contentScript.js @@ -623,7 +623,7 @@ else if (matchDomain("thestar.com")) { endnote_html = parser.parseFromString('
' + (elem.authorPageUrl ? '' + '
' : '') + - ((elem.author.photo === undefined) ? '' + elem.author.author + '
' : '') + + ((elem.author.photo !== undefined) ? '' + elem.author.author + '
' : '') + '
' + elem.text + '
', 'text/html'); } else endnote_html = parser.parseFromString('

' + elem.text + '

', 'text/html'); diff --git a/manifest.json b/manifest.json index 2a2084e..2487af3 100644 --- a/manifest.json +++ b/manifest.json @@ -415,5 +415,5 @@ "*://*.repstatic.it/*", "*://*.userzoom.com/*" ], - "version": "2.0.1.5" + "version": "2.0.1.6" } \ No newline at end of file