mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
_.bind(function, object) to function.bind(object)
This commit is contained in:
parent
db2d95d684
commit
af136f46c4
23 changed files with 38 additions and 45 deletions
|
|
@ -24,7 +24,7 @@ class AbstractRadio extends AbstractComponent {
|
|||
this.values(_.map(params.values, (label, value) => ({ label: label, value: value })));
|
||||
}
|
||||
|
||||
this.click = _.bind(this.click, this);
|
||||
this.click = this.click.bind(this);
|
||||
}
|
||||
|
||||
click(value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue