diff --git a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 index 86ffc6c57b1..29085492932 100644 --- a/app/assets/javascripts/discourse/lib/plugin-api.js.es6 +++ b/app/assets/javascripts/discourse/lib/plugin-api.js.es6 @@ -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); }); }