Arrow function works now

This commit is contained in:
Ludovic Stephan 2020-09-15 19:52:28 +02:00
parent 43a2f8db53
commit 9f9724b1d1

View file

@ -96,7 +96,7 @@ OpenKfet.prototype = {
}).fail(function ($xhr) {
switch ($xhr.status) {
case 403:
requestAuth({ 'errors': {} }, () => this.toggle_force_close);
requestAuth({ 'errors': {} }, (password) => this.toggle_force_close(password));
break;
}
});