Skip to content

Commit

Permalink
satisfy linter
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Jun 17, 2019
1 parent c650683 commit 101e530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions app/assets/v2/js/pages/new_bounty.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ $(function() {
});

let checked = params.get('type');

if (params.has('type')) {

$(`.${checked}`).button('toggle');
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 101e530

Please sign in to comment.