should be a const

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 14:15:32 +02:00
parent 33c1ce8d55
commit 81c1cc4f22

View File

@ -239,7 +239,7 @@ export default Ember.Component.extend({
}, },
_bindEmojiClick($emojisContainer) { _bindEmojiClick($emojisContainer) {
let handler = (event) => { const handler = (event) => {
const code = this._codeForEmojiLink($(event.currentTarget)); const code = this._codeForEmojiLink($(event.currentTarget));
this._trackEmojiUsage(code); this._trackEmojiUsage(code);