commento.js: use question mark for anonymous comments
This commit is contained in:
parent
97f17d32ee
commit
672863b48f
@ -732,7 +732,14 @@
|
||||
if (commenter.photo === "undefined") {
|
||||
avatar = create("div");
|
||||
avatar.style["background"] = color;
|
||||
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user