diff --git a/templates/html/assets/functions.js.twig b/templates/html/assets/functions.js.twig
index d68b88d7..73977c71 100644
--- a/templates/html/assets/functions.js.twig
+++ b/templates/html/assets/functions.js.twig
@@ -39,7 +39,7 @@
}
function validateIn(results, key, type) {
- type = type || 'average';
+ type = type || 'average';
var value = results[type] ? results[type][key] : results[key];
return validate(key, value);
}