diff --git a/docs/index.html b/docs/index.html index c271725..cdc87d4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -167,7 +167,7 @@

FLO

- 0 + 0 @@ -327,7 +327,18 @@
ASSETS
PRICE
- +
@@ -2022,7 +2033,9 @@ return new Promise((resolve, reject) => { floTradeAPI.getTradeList().then(tradeList => { floGlobals.lastTradePrice = tradeList[0].unitValue || 0; - getRef('flo_exchange_rate').textContent = `${floGlobals.lastTradePrice} ${floGlobals.currency}` + document.querySelectorAll('.flo-exchange-rate').forEach(element => { + element.textContent = `${floGlobals.lastTradePrice} ${floGlobals.currency}` + }) resolve(floGlobals.lastTradePrice) }).catch(reject) }) @@ -2715,6 +2728,7 @@ floGlobals.exchangeApiLoaded = true console.log(nodes); refresh(true); + getLastTradePrice() }).catch(error => console.error(error)) }) function signInWithCredentials() {