Simplify TemplateSelector keyup/blur handler.

This commit is contained in:
Bryce Johnson 2016-10-04 18:33:19 +02:00
parent 16097bbeda
commit b6d52a6f10

View file

@ -35,11 +35,7 @@
}
bindEvents() {
return this.$input.on('keyup blur', (function(_this) {
return function(e) {
return _this.onFilenameUpdate();
};
})(this));
return this.$input.on('keyup blur', (e) => this.onFilenameUpdate());
}
toggleLabel(item) {