From 07cb37b7b68f6e39c8eaf801689baf078d9e1c32 Mon Sep 17 00:00:00 2001 From: Glorfindel Date: Tue, 15 Jan 2019 19:23:27 +0100 Subject: [PATCH] 'documentation' --- saviour-of-lost-souls/saviour-of-lost-souls.user.js | 3 ++- 1 file changed, 2 insertions(+), 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 d71155f..2cb4031 100644 --- a/saviour-of-lost-souls/saviour-of-lost-souls.user.js +++ b/saviour-of-lost-souls/saviour-of-lost-souls.user.js @@ -26,7 +26,7 @@ if (reputation === "1") { // Do nothing: 1 rep qualifies for a lost soul } else { - // Other meta sites require some reputation to post a question, so we need other rules: + // Child meta sites require some reputation to post a question, so we need other rules: let isNewContributor = owner.find('span.js-new-contributor-label').length > 0; let hasLowReputation = reputation <= 101; // association bonus let negativeQuestionScore = parseInt(question.find('div.js-vote-count').text()) < 0; @@ -144,6 +144,7 @@ }); } + // Reload page; this is less elegant than waiting for all POST calls but it works. window.setTimeout(() => window.location.reload(false), 800); }); })(window.jQuery);