From 877649d3d3138aceeb9d0c23aa0b5f40b87898b1 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Sun, 19 Sep 2021 17:39:22 +0530 Subject: [PATCH] Fixed issue with loan/deposit confirmation popup --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 46a160c..d5e1c5f 100644 --- a/index.html +++ b/index.html @@ -1747,7 +1747,7 @@ async function initDeposit() { const amount = parseFloat(getRef('get_deposit_amount').value) - const confirm = await getConfirmation(`Confirm deposit of ${amount.toLocaleString('en-IN', { currency: 'INR', style: 'currency' })}?`, 'Cancel', 'Confirm') + const confirm = await getConfirmation('Continue?', `Confirm deposit of ${amount.toLocaleString('en-IN', { currency: 'INR', style: 'currency' })}?`, 'Cancel', 'Confirm') if (confirm) { showProcess('deposit') bank_app.makeDeposit(amount) @@ -1764,7 +1764,7 @@ } async function initLoan() { const amount = parseFloat(getRef('get_loan_amount').value) - const confirm = await getConfirmation(`Confirm loan of ${amount.toLocaleString('en-IN', { currency: 'INR', style: 'currency' })}?`, 'Cancel', 'Confirm') + const confirm = await getConfirmation('Continue?', `Confirm loan of ${amount.toLocaleString('en-IN', { currency: 'INR', style: 'currency' })}?`, 'Cancel', 'Confirm') if (confirm) { showInitProcess('loan') bank_app.requestLoan(amount)