bind hover only on desktop

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 11:18:34 +02:00
parent 38be969727
commit 60c0b5f0d2
1 changed files with 3 additions and 1 deletions

View File

@ -130,7 +130,6 @@ export default Ember.Component.extend({
this._bindEmojiClick($list.find(".section-group"));
this._bindClearRecentEmojisGroup();
this._bindResizing();
this._bindHover();
this._bindCategoryClick();
this._bindModalClick();
this._bindFilterInput();
@ -144,6 +143,9 @@ export default Ember.Component.extend({
return false;
}
});
if(!this.site.isMobileDevice) {
this._bindHover();
}
},
_bindModalClick() {