Skip to content

Commit d1b4516

Browse files
authored
add EUR to nice currency printing
1 parent b5567c5 commit d1b4516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/lendingbot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function Timespan(name, multiplier) {
249249
}
250250
if (currency == "BTC") {
251251
return displayUnit.formatValue(earnings) + " <span class=" + currencyClass + ">" + displayUnit.name + "</span> / " + name + "<br/>"
252-
} else if (currency == "USD" || currency == "USDT") {
252+
} else if (currency == "USD" || currency == "USDT" || currency == "EUR") {
253253
return printFloat(earnings, 2) + " <span class=" + currencyClass + ">" + currency + "</span> / "+ name + "<br/>";
254254
} else {
255255
return printFloat(earnings, 8) + " <span class=" + currencyClass + ">" + currency + "</span> / "+ name + "<br/>";

0 commit comments

Comments
 (0)