From b7b9f3bb6817854e52f4ad37eb8b7b9cf7923749 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 22 Apr 2023 05:31:07 +0000 Subject: [PATCH] Update content of files --- data/web/fragment.com/js/auction.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/data/web/fragment.com/js/auction.js b/data/web/fragment.com/js/auction.js index 2fa7f3deb9..ccae58e3d6 100644 --- a/data/web/fragment.com/js/auction.js +++ b/data/web/fragment.com/js/auction.js @@ -764,8 +764,8 @@ var Auction = { var mult = Aj.state.offerFeeMult; var fee = Math.ceil(amount * mult); var fee_val = Math.max(Aj.state.offerFeeMin, Math.min(fee, Aj.state.offerFeeMax)); - Aj.state.offerFee = fee_val; - $('.js-amount_fee', Aj.state.$makeOfferForm).html(Main.wrapTonAmount(fee_val)); + Aj.state.offerFee = Main.wrapTonAmount(fee_val); + $('.js-amount_fee', Aj.state.$makeOfferForm).html(Aj.state.offerFee); }; openPopup(Aj.state.$makeOfferPopup, { onOpen: function() { @@ -802,13 +802,13 @@ var Auction = { }, title: l('WEB_POPUP_QR_OFFER_HEADER'), description: l('WEB_POPUP_QR_OFFER_TEXT', { - amount: '' + Main.wrapTonAmount(Aj.state.offerFee) + '' + amount: '' + Aj.state.offerFee + '' }), qr_label: item_title, tk_label: l('WEB_POPUP_QR_OFFER_TK_BUTTON'), terms_label: l('WEB_POPUP_QR_PROCEED_TERMS'), onDataUpdate: function(data) { - $('.js-amount_fee', this).html(Main.wrapTonAmount(data.fee)); + $('.js-amount_fee', this).html(data.fee); }, onConfirm: function(by_server) { if (by_server) { @@ -1013,7 +1013,7 @@ var Assets = { }, title: l('WEB_POPUP_QR_BOT_USERNAME_HEADER'), description: l('WEB_POPUP_QR_BOT_USERNAME_TEXT', { - amount: '' + Main.wrapTonAmount(Aj.state.botUsernameFee) + '' + amount: '' + Aj.state.botUsernameFee + '' }), qr_label: '@' + Aj.state.botUsername, tk_label: l('WEB_POPUP_QR_BOT_USERNAME_TK_BUTTON'), @@ -1850,7 +1850,7 @@ var Premium = { }, title: l('WEB_POPUP_QR_PREMIUM_HEADER'), description: l('WEB_POPUP_QR_PREMIUM_TEXT', { - amount: '' + Main.wrapTonAmount(Aj.state.giftPrice) + '' + amount: '' + Aj.state.giftPrice + '' }), qr_label: item_title, tk_label: l('WEB_POPUP_QR_PREMIUM_TK_BUTTON'),