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-24 12:44:44 +01:00
parent c432111bdb
commit a151e66ed1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
}
// 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) {
if ($("a.bounty-link.bounty").length !== 0 || document.getElementById("bounty-link bounty") != null) {
return;
}