From 3f66b1f99535a5ee88b27f764a5868a7a557f239 Mon Sep 17 00:00:00 2001 From: Tanya Butenko Date: Thu, 23 Mar 2017 19:55:04 +1100 Subject: [PATCH] Update answers.js --- js/answers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/answers.js b/js/answers.js index e99b0d80..ef112688 100644 --- a/js/answers.js +++ b/js/answers.js @@ -69,7 +69,7 @@ function validateForm(e) { var city = document.letterToSanta.city.value; var description = document.letterToSanta.description.value; - const errors = { + var errors = { name: nameValidation(name), city: cityValidation(city), description: descriptionValidation(description)