diff --git a/frontend_tests/node_tests/templates.js b/frontend_tests/node_tests/templates.js index 2a79d2cebc..0059023c7f 100644 --- a/frontend_tests/node_tests/templates.js +++ b/frontend_tests/node_tests/templates.js @@ -600,8 +600,8 @@ function render(template_name, args) { html += render('emoji_popover_content', args); html += ""; // test to make sure the first emoji is present in the popover - var emoji_key = $(html).find(".emoji-100").attr('title'); - assert.equal(emoji_key, '100'); + var first_emoji = $(html).find(".emoji-100"); + assert.equal(first_emoji.length, 1); var categories = $(html).find(".emoji-popover-tab-item"); assert.equal(categories.length, 2); diff --git a/static/templates/emoji_popover_emoji.handlebars b/static/templates/emoji_popover_emoji.handlebars index 5d4d3c0d6c..c766bb38ed 100644 --- a/static/templates/emoji_popover_emoji.handlebars +++ b/static/templates/emoji_popover_emoji.handlebars @@ -1,9 +1,9 @@ {{#with emoji_dict}}
{{/with}}