From 7739b2f53e26c59075b3d6210465d953c6cd5da0 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 19 Jul 2017 12:02:03 +0200 Subject: [PATCH] reduces element search scope --- app/assets/javascripts/discourse/components/emoji-picker.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/emoji-picker.js.es6 b/app/assets/javascripts/discourse/components/emoji-picker.js.es6 index c9657339f73..251954a5f98 100644 --- a/app/assets/javascripts/discourse/components/emoji-picker.js.es6 +++ b/app/assets/javascripts/discourse/components/emoji-picker.js.es6 @@ -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 = ` :${code}:`;