emphasizes it's a jquery object

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 12:01:50 +02:00
parent b5c5c9c883
commit d992ef24ce
1 changed files with 2 additions and 2 deletions

View File

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