emoji style update
This commit is contained in:
parent
3841defed7
commit
3eaa1c425e
3 changed files with 16 additions and 12 deletions
|
@ -385,11 +385,11 @@ class Message {
|
|||
}
|
||||
const emoji = document.createElement("p");
|
||||
emoji.textContent = thing.emoji.name;
|
||||
reaction.append(emoji);
|
||||
const count = document.createElement("p");
|
||||
count.textContent = "" + thing.count;
|
||||
count.classList.add("reactionCount");
|
||||
reaction.append(count);
|
||||
reaction.append(emoji);
|
||||
reactdiv.append(reaction);
|
||||
reaction.onclick = _ => {
|
||||
this.reactionToggle(thing.emoji.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue