[bugfix] switch trading coin pair now updates buy/sell tabs properly with updated coin tags

This commit is contained in:
satindergrewal 2018-01-02 22:52:41 +13:00
parent c621249032
commit 5a884220f0
1 changed files with 6 additions and 0 deletions

View File

@ -933,6 +933,12 @@ $('.btn_switch_trading_coin_pairs').click(function(e){
$('.relvol_basevol_coin').html(coin_pair2);
coin = $('.trading_pair_coin2').selectpicker('val');
$('.coin_ticker').html(coin);
$.each($('.coinexchange[data-coin]'), function(index, value) {
$('.coinexchange[data-coin]').data('coin', coin);
});
bot_screen_sellcoin_balance();
bot_screen_coin_balance();