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() {
|
bindEvents() {
|
||||||
return this.$input.on('keyup blur', (function(_this) {
|
return this.$input.on('keyup blur', (e) => this.onFilenameUpdate());
|
||||||
return function(e) {
|
|
||||||
return _this.onFilenameUpdate();
|
|
||||||
};
|
|
||||||
})(this));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleLabel(item) {
|
toggleLabel(item) {
|
||||||
|
|
Loading…
Reference in a new issue