mirror of
https://github.com/discourse/discourse.git
synced 2025-04-02 03:25:53 +08:00
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…
x
Reference in New Issue
Block a user