Browse Source

`time` is not callable.

feature/python-error-tracking
Drew Larson 7 years ago
parent
commit
6cb5e09958
  1. 2
      bikeshop_project/registration/templates/member_form.html

2
bikeshop_project/registration/templates/member_form.html

@ -21,7 +21,7 @@
});
Object.observe(dateOfBirth, function(changes) {
var input = document.getElementById('{{ form.date_of_birth.id_for_label }}');
input.value = dateOfBirth.time().format('YYYY-MM-DD');
input.value = dateOfBirth.time.format('YYYY-MM-DD');
input.parentNode.classList.add('is-dirty');
var threshold = moment.duration(18, 'years');

Loading…
Cancel
Save