From 9df69a6a6644d6fb6e51f8298e73b4366bcf6b38 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 8 Dec 2023 05:58:30 +0000 Subject: [PATCH] Update content of files --- data/web/contest.com.html | 2 +- data/web/fragment.com/js/auction.js | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/data/web/contest.com.html b/data/web/contest.com.html index e88b919253..b2cace3b17 100644 --- a/data/web/contest.com.html +++ b/data/web/contest.com.html @@ -62,7 +62,7 @@

Contests

-
ML Competition, Round 2. $40,000New
+
ML Competition, Round 2. $40,000
Nov 10 – Nov 20
App Icon Competition. $10,000
diff --git a/data/web/fragment.com/js/auction.js b/data/web/fragment.com/js/auction.js index a5cb43cd86..0fdf6e5dfc 100644 --- a/data/web/fragment.com/js/auction.js +++ b/data/web/fragment.com/js/auction.js @@ -1048,7 +1048,9 @@ var Assets = { username: username, auction: true }, function(result) { - if (result.confirm_message) { + if (result.error) { + return showAlert(result.error); + } else if (result.confirm_message) { showConfirm(result.confirm_message, function() { doPutToAuction(); }, result.confirm_button); @@ -1148,7 +1150,9 @@ var Assets = { username: username, auction: false }, function(result) { - if (result.confirm_message) { + if (result.error) { + return showAlert(result.error); + } else if (result.confirm_message) { showConfirm(result.confirm_message, function() { doSellUsername(); }, result.confirm_button);