diff --git a/app/assets/v2/js/pages/new_bounty.js b/app/assets/v2/js/pages/new_bounty.js index f6b2db5b51c..5c42f1332ca 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -593,9 +593,10 @@ $(document).ready(function() { if ($("input[type='radio'][name='repo_type']:checked").val() == 'private' && $('#issueNDA')[0].files[0]) { uploadNDA(); + } else if (data.featuredBounty) { + payFeaturedBounty(); } else { - if (data.featuredBounty) payFeaturedBounty(); - else do_bounty(); + do_bounty(); } } });