Modify title on profile page

This commit is contained in:
Yarmo Mackenbach 2020-06-27 00:56:51 +02:00
parent b1b01623dc
commit 5c0feedc37

View file

@ -173,6 +173,7 @@ async function displayProfile(opts) {
let feedback = "", notation, isVerified, verifications = []; let feedback = "", notation, isVerified, verifications = [];
document.body.querySelector('#profileName').innerHTML = userData.name; document.body.querySelector('#profileName').innerHTML = userData.name;
document.title = `${userData.name} - Keyoxide`;
for (var i = 0; i < keyData.notations.length; i++) { for (var i = 0; i < keyData.notations.length; i++) {
notation = keyData.notations[i]; notation = keyData.notations[i];