Use arrow functions everywhere for consistency

This commit is contained in:
Ludovic Stephan 2020-09-15 16:44:32 +02:00
parent ba4cc01ed4
commit 43a2f8db53

View file

@ -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;
}
});