From cc558f65fdcec5f9d95926921efad337e7b2a2af Mon Sep 17 00:00:00 2001 From: Glorfindel Date: Sun, 6 Jan 2019 18:27:20 +0100 Subject: [PATCH] 'Saviour' of Lost Souls v0.2: support for Meta Stack Overflow --- saviour-of-lost-souls/saviour-of-lost-souls.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saviour-of-lost-souls/saviour-of-lost-souls.user.js b/saviour-of-lost-souls/saviour-of-lost-souls.user.js index a589e1d..be0b4d2 100644 --- a/saviour-of-lost-souls/saviour-of-lost-souls.user.js +++ b/saviour-of-lost-souls/saviour-of-lost-souls.user.js @@ -19,7 +19,7 @@ // Check if author is likely to be a lost soul let owner = $('div.post-signature.owner'); - if (typeof owner == 'undefined') + if (owner.length == 0) // happens with Community Wiki posts return; let reputation = owner.find('span.reputation-score')[0].innerText;