ui: Fix js value updates when sending bid.
This commit is contained in:
4 files changed
+23
-22
No files matched your search
@@ -169,12 +169,12 @@ function updateBidParams(value_changed) {
|
||||
|
||||
let amt_from = '';
|
||||
let rate = '';
|
||||
if (amt_var) {
|
||||
if (amt_var == 'True') {
|
||||
amt_from = document.getElementById('bid_amount').value;
|
||||
} else {
|
||||
amt_from = document.getElementById('amount_from').value;
|
||||
}
|
||||
if (rate_var) {
|
||||
if (rate_var == 'True') {
|
||||
rate = document.getElementById('bid_rate').value;
|
||||
} else {
|
||||
rate = document.getElementById('offer_rate').value;
|
||||
|
||||
Reference in new issue
Block a user