Skip to content

Commit

Permalink
set candle sticks last
Browse files Browse the repository at this point in the history
Signed-off-by: Philemon Ukane <ukanephilemon@gmail.com>
  • Loading branch information
ukane-philemon committed Apr 21, 2023
1 parent 0428f1a commit cfe5f7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/webserver/site/src/js/markets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,9 @@ export default class MarketsPage extends BasePage {
Doc.bind(bttn, 'click', () => this.candleDurationSelected(dur))
page.durBttnBox.appendChild(bttn)
}

// load candlesticks here since we are resetting page.durBttnBox above.
this.loadCandles()
}

/* setMarket sets the currently displayed market. */
Expand Down

0 comments on commit cfe5f7b

Please sign in to comment.