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
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@
return;
}
// If there's a 'start a bounty' link, we have nothing to do.
if ($("a.bounty-link.bounty").length !== 0) {
// 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 || $("a[href='/help/bounty']").length !== 0) {
return;
}