should be a const

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 14:15:32 +02:00
parent 33c1ce8d55
commit 81c1cc4f22
1 changed files with 1 additions and 1 deletions

View File

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