diff --git a/basicswap/static/js/pricechart.js b/basicswap/static/js/pricechart.js index d37e533..507250e 100644 --- a/basicswap/static/js/pricechart.js +++ b/basicswap/static/js/pricechart.js @@ -332,7 +332,7 @@ displayCoinData: (coin, data) => { if (coin === 'BTC') { btcPriceDiv.style.display = 'none'; } else { - priceBtcElement.textContent = isError ? 'N/A' : `${priceBTC.toFixed(8)} BTC`; + priceBtcElement.textContent = isError ? 'N/A' : `${priceBTC.toFixed(8)}`; btcPriceDiv.style.display = 'flex'; } } @@ -460,7 +460,7 @@ displayCoinData: (coin, data) => { if (price < 0.001) return price.toFixed(8); if (price < 1) return price.toFixed(4); if (price < 1000) return price.toFixed(2); - return price.toFixed(1); + return price.toFixed(0); }, setActiveContainer: (containerId) => { diff --git a/basicswap/templates/offers.html b/basicswap/templates/offers.html index e68f1b4..79f8815 100644 --- a/basicswap/templates/offers.html +++ b/basicswap/templates/offers.html @@ -25,9 +25,9 @@ function getWebSocketConfig() { {% if sent_offers %} -
{{ page_type_description }}