|
|
@ -4,11 +4,11 @@ import { formatAllUsdValues, updateAllCalculatedUsdValues } from './lib/currency |
|
|
|
import { createMarketHistoryChart } from './lib/market_history_chart' |
|
|
|
import { createMarketHistoryChart } from './lib/market_history_chart' |
|
|
|
|
|
|
|
|
|
|
|
const checkExist = setInterval(() => { |
|
|
|
const checkExist = setInterval(() => { |
|
|
|
const el = $('[data-chart="marketHistoryChart"]')[0] |
|
|
|
const el = $('[data-chart="marketHistoryChart"]')[0] |
|
|
|
if (el) { |
|
|
|
if (el) { |
|
|
|
clearInterval(checkExist) |
|
|
|
clearInterval(checkExist) |
|
|
|
createMarketHistoryChart(el, true) |
|
|
|
createMarketHistoryChart(el, true) |
|
|
|
formatAllUsdValues() |
|
|
|
formatAllUsdValues() |
|
|
|
updateAllCalculatedUsdValues() |
|
|
|
updateAllCalculatedUsdValues() |
|
|
|
} |
|
|
|
} |
|
|
|
}, 100); |
|
|
|
}, 100) |
|
|
|