From 6065812df362ea27f464e1dbe20eddef5c587fa5 Mon Sep 17 00:00:00 2001 From: KiddyTheKid Date: Thu, 24 Dec 2020 01:49:03 -0500 Subject: [PATCH] Fixed fingerprint url with undefined keyData.fingerprint value. --- static/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/scripts.js b/static/scripts.js index 6e484f1..0dfc93f 100644 --- a/static/scripts.js +++ b/static/scripts.js @@ -282,12 +282,12 @@ async function displayProfile(opts) { } } if (!keyLink) { - keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${keyData.fingerprint}`; + keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${fingerprint}`; } break; case "hkp": - keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${keyData.fingerprint}`; + keyLink = `https://keys.openpgp.org/pks/lookup?op=get&options=mr&search=0x${fingerprint}`; break; case "keybase":