From ae961869844ea3f730765e442d978308e3832b27 Mon Sep 17 00:00:00 2001 From: Glorfindel Date: Fri, 22 Dec 2017 10:58:19 +0100 Subject: [PATCH] Why No Bounty v0.2: - deleted questions - reputation comparison fix --- why-no-bounty/why-no-bounty.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/why-no-bounty/why-no-bounty.user.js b/why-no-bounty/why-no-bounty.user.js index 14d688a..93dc128 100644 --- a/why-no-bounty/why-no-bounty.user.js +++ b/why-no-bounty/why-no-bounty.user.js @@ -48,7 +48,7 @@ // Is the question closed / locked? var questionStatus = $("#question .question-status h2 b"); if (questionStatus.length !== 0) { - var status = questionStatus.get(0).text(); + var status = questionStatus.get(0).innerText; if (status === "closed" || status === "put on hold" || status == "marked") { addInformation("the question is closed"); return;