FIX: infinite rebinding when filtering emojis
This commit is contained in:
parent
d1f2b981b5
commit
d238de87a4
|
@ -266,7 +266,7 @@ export default Ember.Component.extend({
|
|||
$this.on('touchmove', () => $this.off('touchend') );
|
||||
});
|
||||
} else {
|
||||
$emojisContainer.on("click", "a", e => handler.bind(this)(e) );
|
||||
$emojisContainer.off("click").on("click", "a", e => handler.bind(this)(e) );
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue