diff --git a/frontend/javascript/modules/majorProjectForm.js b/frontend/javascript/modules/majorProjectForm.js index f7af37c..3fc80d0 100644 --- a/frontend/javascript/modules/majorProjectForm.js +++ b/frontend/javascript/modules/majorProjectForm.js @@ -14,7 +14,7 @@ export default class MajorProjectForm { this.form.querySelector('input[type=submit]') .addEventListener('click', e => this._submitForm(e)); this.form.querySelector('input[id=skill-input]') - .addEventListener('focusout') + .addEventListener('focusout', e => this.onWriteSkill(e)); } onWriteSkill(e) {