fixed #5
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
async function getuser() {
|
||||
let user = await (await fetch("/api/getotheruser?user="+other_username)).json()
|
||||
document.getElementById('userName').innerText = `${(!user["error"] && "User: "+user.username) || "Error: "+user["error"]}`
|
||||
document.getElementById('userBio').innerText = `${(!user["error"] && "Bio: "+user.bio) || ""}`
|
||||
document.getElementById('userBio').innerText = `${(!user["error"] && "Bio: " + decodeURIComponent(user.bio)) || ""}`
|
||||
document.title = `${(!user["error"] && user.username+"'s Page") || "No such User!"}`
|
||||
if(user["error"]) {
|
||||
document.body.removeChild(document.getElementById("mentionClick"))
|
||||
|
||||
Reference in New Issue
Block a user