Open RenanMsV opened 3 years ago
I wanted it to show my main country currency (BRL) and also have it showing standard USD at the same time.
Made it by also requesting USD data in the url with
"&tsyms=" + base + ",USD&extraParams=crypto-price-widget";
if (base != "USD" && settings.get("user.alwaysShowUsd") == "yes") { // display also prices in USD coinRate = coinRate + (" <small>($") + coinRAW["USD"].PRICE.toFixed(4) + ")</small>" }
It works good, even added an option for it in the settings.
Feel free to deny this pull request and do it differently.
Best regards, RenanMsV
I wanted it to show my main country currency (BRL) and also have it showing standard USD at the same time.
Made it by also requesting USD data in the url with
"&tsyms=" + base + ",USD&extraParams=crypto-price-widget";
It works good, even added an option for it in the settings.
Feel free to deny this pull request and do it differently.
Best regards, RenanMsV