2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

reduces element search scope

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 12:02:03 +02:00
parent d992ef24ce
commit 7739b2f53e

View file

@ -208,7 +208,7 @@ export default Ember.Component.extend({
$picker.find(".footer .info").html(html || "");
};
($hoverables || this.$(".section-group")).on({
($hoverables || $list.find(".section-group")).on({
mouseover: (event) => {
const code = this._codeForEmojiLink($(event.currentTarget));
const html = `<img src="${emojiUrlFor(code)}" class="emoji"> <span>:${code}:<span>`;