From 101e5301141d1bf64011fa62e927bcb45eb84ed1 Mon Sep 17 00:00:00 2001 From: Owocki Date: Mon, 17 Jun 2019 12:20:32 -0600 Subject: [PATCH] satisfy linter --- app/app/urls.py | 1 - app/assets/v2/js/pages/new_bounty.js | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app/urls.py b/app/app/urls.py index 0118d7d47e7..683b164d6f5 100644 --- a/app/app/urls.py +++ b/app/app/urls.py @@ -130,7 +130,6 @@ # Hackathon static page url(r'^hackathon/ethhack2019', dashboard.views.ethhack, name='ethhack_2019'), url(r'^hackathon/beyondblocks', dashboard.views.beyond_blocks_2019, name='beyond_blocks_2019'), - path('revenue/attestations/new', revenue.views.new_attestation, name='revenue_new_attestation'), # Hackathons / special events diff --git a/app/assets/v2/js/pages/new_bounty.js b/app/assets/v2/js/pages/new_bounty.js index 51fd982f78e..2bd0b7d5554 100644 --- a/app/assets/v2/js/pages/new_bounty.js +++ b/app/assets/v2/js/pages/new_bounty.js @@ -195,6 +195,7 @@ $(function() { }); let checked = params.get('type'); + if (params.has('type')) { $(`.${checked}`).button('toggle'); @@ -323,6 +324,7 @@ $('#issueURL').focusout(function() { if (isPrivateRepo) { setPrivateForm(); var validated = $('input[name=issueURL]').val() == '' || !validURL($('input[name=issueURL]').val()); + if (validated) { $('.js-submit').addClass('disabled'); } else {