From 7066c259c4afbdaec8d027627531aba2cb581dd6 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 14 Dec 2020 09:34:34 +0100 Subject: [PATCH] Rremove obsolete code --- static/scripts.js | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/static/scripts.js b/static/scripts.js index 254138b..51b0349 100644 --- a/static/scripts.js +++ b/static/scripts.js @@ -445,49 +445,6 @@ async function displayProfile(opts) { }); }); - // userId.forEach((claim, i) => { - // feedback += `
`; - // feedback += `
${verifications[i].type}
`; - // feedback += `
`; - // feedback += `${verifications[i].display}`; - // if (verifications[i].isVerified) { - // feedback += `verified ✔`; - // } else { - // feedback += `unverified`; - // } - // if (verifications[i].isVerified && verifications[i].qr) { - // feedback += `${icon_qr}`; - // } - // feedback += `
`; - // feedback += `
`; - // }); - - - // if (verifications.length > 0) { - // for (var i = 0; i < verifications.length; i++) { - // if (!verifications[i].type) { continue; } - // feedback += `
`; - // feedback += `
${verifications[i].type}
`; - // feedback += `
`; - // feedback += `${verifications[i].display}`; - // if (verifications[i].isVerified) { - // feedback += `verified ✔`; - // } else { - // feedback += `unverified`; - // } - // if (verifications[i].isVerified && verifications[i].qr) { - // feedback += `${icon_qr}`; - // } - // feedback += `
`; - // feedback += `
`; - // } - // } else { - // feedback += `
`; - // feedback += `
`; - // feedback += `
No proofs found in key
`; - // feedback += `
`; - // } - // Display feedback document.body.querySelector('#profileProofs').innerHTML = feedback; }