diff --git a/frontend/js/commento.js b/frontend/js/commento.js index a7df3a5..cc10ed3 100644 --- a/frontend/js/commento.js +++ b/frontend/js/commento.js @@ -732,7 +732,14 @@ if (commenter.photo === "undefined") { avatar = create("div"); avatar.style["background"] = color; - avatar.innerHTML = commenter.name[0].toUpperCase(); + + if (comment.commenterHex === "anonymous") { + avatar.innerHTML = "?"; + avatar.style["font-weight"] = "bold"; + } else { + avatar.innerHTML = commenter.name[0].toUpperCase(); + } + classAdd(avatar, "avatar"); } else { avatar = create("img");