From cfc0f59fa47a3120c14f0a9939afd09d9bfd87de Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 28 Jun 2020 13:55:45 +0200 Subject: [PATCH] Skip unknown verifications --- assets/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts.js b/assets/scripts.js index 07f5cc3..e1979c6 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -161,7 +161,7 @@ async function verifyProofs(opts) { // Generate feedback feedback += `

`; for (var i = 0; i < verifications.length; i++) { - // feedback += `${verifications[i].type}: ${verifications[i].display}: ${verifications[i].isVerified}
`; + if (!verifications[i].type) { continue; } feedback += `${verifications[i].type}: `; feedback += `${verifications[i].display}`; if (verifications[i].isVerified) {