diff --git a/index.html b/index.html index e6f50b4..a66f0c7 100644 --- a/index.html +++ b/index.html @@ -8227,7 +8227,7 @@ Bitcoin.Util = {
Amount intvested - +
Net bond value @@ -8263,6 +8263,10 @@ Bitcoin.Util = { USD rate
+
+ + +
@@ -8318,7 +8322,9 @@ Bitcoin.Util = { toggleCurrency = () => { const secCurrency = preferredCurrency === 'usd' ? 'inr' : 'usd' - this.shadow.querySelector('.amount-invested').textContent = `${currencySymbols[preferredCurrency]}${this.amountInvested[preferredCurrency]}` + this.shadow.querySelector('.amount-invested-primary').textContent = `${currencySymbols[preferredCurrency]}${this.amountInvested[preferredCurrency]}` + this.shadow.querySelector('.amount-invested-sec').textContent = `${currencySymbols[secCurrency]}${this.amountInvested[secCurrency]}` + this.shadow.querySelector('.amount-invested-sec').previousElementSibling.textContent = `Amount invested(${secCurrency.toUpperCase()})` this.shadow.querySelector('.net-value-primary').textContent = `${currencySymbols[preferredCurrency]}${this.netValue[preferredCurrency]}` this.shadow.querySelector('.net-value-sec').textContent = `${currencySymbols[secCurrency]}${this.netValue[secCurrency]}` this.shadow.querySelector('.net-value-sec').previousElementSibling.textContent = `Net bond value(${secCurrency.toUpperCase()})`