mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
FIX: Emoji not rendering using plugin api.
This commit is contained in:
parent
e2c87da42a
commit
07717dfaa7
@ -94,8 +94,8 @@ class PluginApi {
|
||||
} else if (result.emoji) {
|
||||
iconBody = result.emoji.split('|').map(name => {
|
||||
let widgetAttrs = { name };
|
||||
if (result.title) widgetAttrs.title = true;
|
||||
dec.attach('emoji', widgetAttrs);
|
||||
if (result.emojiTitle) widgetAttrs.title = true;
|
||||
return dec.attach('emoji', widgetAttrs);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user