Fix race condition

pull/1/head
yflory 2020-12-09 15:01:17 +01:00
parent 892fca7d99
commit ab726811f9
1 changed files with 1 additions and 2 deletions

View File

@ -282,8 +282,7 @@ define([
notifications: data.notifications
}, function (err, obj) {
if (obj && obj.error) { return void UI.warn(Messages.error); }
$button.attr('disabled', 'disabled').append(Messages.profile_friendRequestSent);
addCancel();
//$button.attr('disabled', 'disabled').append(Messages.profile_friendRequestSent);
});
});
};