Update content of files

This commit is contained in:
GitHub Action 2023-12-19 23:30:21 +00:00
parent 9e0fde7486
commit 1e1f041f06

View file

@ -1048,9 +1048,7 @@ var Assets = {
username: username, username: username,
auction: true auction: true
}, function(result) { }, function(result) {
if (result.error) { if (result.confirm_message) {
return showAlert(result.error);
} else if (result.confirm_message) {
showConfirm(result.confirm_message, function() { showConfirm(result.confirm_message, function() {
doPutToAuction(); doPutToAuction();
}, result.confirm_button); }, result.confirm_button);
@ -1150,9 +1148,7 @@ var Assets = {
username: username, username: username,
auction: false auction: false
}, function(result) { }, function(result) {
if (result.error) { if (result.confirm_message) {
return showAlert(result.error);
} else if (result.confirm_message) {
showConfirm(result.confirm_message, function() { showConfirm(result.confirm_message, function() {
doSellUsername(); doSellUsername();
}, result.confirm_button); }, result.confirm_button);