diff --git a/docs/index.html b/docs/index.html index 7277252..9ed67bf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2646,8 +2646,11 @@ const price = toFixed(getSuggestedPrice()); const total = formatAmount(parseFloat(getRef('get_total').value)) const minTotal = formatAmount(toFixed(currentPrice * quantity)) - getRef('confirm_trade__title').textContent = `${tradeType} ${asset}` - getRef('confirm_trade__details').innerHTML = ` + getRef('confirm_trade__title').textContent = `${tradeType} ${asset}`; + renderElem(getRef('confirm_trade__details'), html` + ${tradeType === 'buy' ? html` + You won't be able to sell the bought asset below it's purchasing price. + `: ''}
Quantity
${quantity} ${asset} @@ -2665,9 +2668,9 @@- All trades will be executed at current price. + *All trades will be executed at current price.
- `; + `); break; } }) @@ -2894,17 +2897,17 @@ async function fetchOnChainBalances() { try { - getRef('personal_flo_balance').innerHTML = `