Use arrow functions everywhere for consistency
This commit is contained in:
parent
ba4cc01ed4
commit
43a2f8db53
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ OpenKfet.prototype = {
|
|||
}).fail(function ($xhr) {
|
||||
switch ($xhr.status) {
|
||||
case 403:
|
||||
requestAuth({ 'errors': {} }, this.toggle_force_close.bind(this));
|
||||
requestAuth({ 'errors': {} }, () => this.toggle_force_close);
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue