Simplify TemplateSelector keyup/blur handler.
This commit is contained in:
parent
16097bbeda
commit
b6d52a6f10
1 changed files with 1 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue