Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
Fix bug where required attribute wasnt removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd Dembrey committed Feb 8, 2018
1 parent 2fd77fa commit f11b49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentech/apply/funds/static/address_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

function makeFieldNotRequired(field){
var $field = $(field);
$(this).prop('required', false);
$field.removeAttr('required');
var $label = labelFor($field);
$label.children('span').remove();
}
Expand Down

0 comments on commit f11b49f

Please sign in to comment.