bind hover only on desktop
This commit is contained in:
parent
38be969727
commit
60c0b5f0d2
|
@ -130,7 +130,6 @@ export default Ember.Component.extend({
|
||||||
this._bindEmojiClick($list.find(".section-group"));
|
this._bindEmojiClick($list.find(".section-group"));
|
||||||
this._bindClearRecentEmojisGroup();
|
this._bindClearRecentEmojisGroup();
|
||||||
this._bindResizing();
|
this._bindResizing();
|
||||||
this._bindHover();
|
|
||||||
this._bindCategoryClick();
|
this._bindCategoryClick();
|
||||||
this._bindModalClick();
|
this._bindModalClick();
|
||||||
this._bindFilterInput();
|
this._bindFilterInput();
|
||||||
|
@ -144,6 +143,9 @@ export default Ember.Component.extend({
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
if(!this.site.isMobileDevice) {
|
||||||
|
this._bindHover();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_bindModalClick() {
|
_bindModalClick() {
|
||||||
|
|
Loading…
Reference in New Issue