From 1c8cf829007297059a583b01fef56f33210381d5 Mon Sep 17 00:00:00 2001 From: Niklas Fiekas Date: Thu, 11 Jun 2020 21:49:34 +0200 Subject: [PATCH] fix name of languages input in coach form validation --- public/javascripts/coach.form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/coach.form.js b/public/javascripts/coach.form.js index ee740a9724..163eb2670a 100644 --- a/public/javascripts/coach.form.js +++ b/public/javascripts/coach.form.js @@ -21,7 +21,7 @@ $(function() { }, { html: 'Fill in basic information', check: function() { - for (let name of ['profile.headline', 'profile.languages']) { + for (let name of ['profile.headline', 'languages']) { if (!$editor.find('[name="' + name + '"]').val()) return false; } return true;