Skip to content

Commit

Permalink
Remove market cap from homepage stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock committed May 9, 2024
1 parent 5441084 commit bc30569
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ function drawStats(webinfo, priceinfo){
this.innerHTML = circulatingDcr.toLocaleString("en-US");
});

var circulatingUsd = Math.round(webinfo.circulatingsupply * priceinfo.decred_usd/1000000);
$('[data-stat-name="circulating-supply-usd"]').each(function(){
this.innerHTML = "USD " + circulatingUsd + "M";
});

// Total coins mined.

var mined = Math.round(100 * (webinfo.circulatingsupply / webinfo.ultimatesupply));
Expand Down
1 change: 0 additions & 1 deletion src/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ <h1 class="stats-info-variable big-variable" data-stat-name="circulating-supply-
</h1>
</div>
<h1 class="stats-info-sub">
EQUIVALENT TO&nbsp;<span style="color: rgb(183, 183, 183);" data-stat-name="circulating-supply-usd">USD 240M</span>&nbsp;AT CURRENT PRICE<br>
COINS MINED <span style="color: rgb(183, 183, 183);" data-stat-name="coins-mined">88%</span>&nbsp;&nbsp;EMISSION <span style="color: rgb(183, 183, 183);" data-stat-name="coins-emission">+1%/YEAR</span>
</h1>
</div>
Expand Down

0 comments on commit bc30569

Please sign in to comment.