Commit b6d52a6f authored by Bryce Johnson's avatar Bryce Johnson

Simplify TemplateSelector keyup/blur handler.

parent 16097bbe
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment