'Saviour' of Lost Souls v0.2: support for Meta Stack Overflow

This commit is contained in:
Glorfindel 2019-01-06 18:27:20 +01:00
parent 1db9e7d98a
commit cc558f65fd

View file

@ -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;