Why No Bounty: the system already warns you for your own questions which aren't old enough

This commit is contained in:
Glorfindel 2017-12-23 17:10:14 +01:00
parent 46c85e12e0
commit 47f06b6b94

View file

@ -23,8 +23,8 @@
return; return;
} }
// If there's a 'start a bounty' link, we have nothing to do. // If there's a 'start a bounty' or 'question eligible for bounty in x days' link, we have nothing to do.
if ($("a.bounty-link.bounty").length !== 0) { if ($("a.bounty-link.bounty").length !== 0 || $("a[href='/help/bounty']").length !== 0) {
return; return;
} }