F
This commit is contained in:
parent
382c217eb2
commit
fcba3619f0
@ -752,8 +752,6 @@ export default class PopupPayment extends PopupElement {
|
|||||||
onConfirmed();
|
onConfirmed();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
this.hide();
|
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
if((err as ApiError).type === 'BOT_PRECHECKOUT_TIMEOUT') {
|
if((err as ApiError).type === 'BOT_PRECHECKOUT_TIMEOUT') {
|
||||||
toastNew({langPackKey: 'Error.AnError'});
|
toastNew({langPackKey: 'Error.AnError'});
|
||||||
|
@ -355,7 +355,7 @@ export default class PopupPaymentCard extends PopupElement<{
|
|||||||
const previousInputField = switchFocusOrder[switchFocusOrder.indexOf(inputField) - 1];
|
const previousInputField = switchFocusOrder[switchFocusOrder.indexOf(inputField) - 1];
|
||||||
if(previousInputField) {
|
if(previousInputField) {
|
||||||
// previousInputField.value = previousInputField.value.slice(0, -1);
|
// previousInputField.value = previousInputField.value.slice(0, -1);
|
||||||
placeCaretAtEnd(previousInputField.input);
|
placeCaretAtEnd(previousInputField.input, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -375,7 +375,7 @@ export default class PopupPaymentCard extends PopupElement<{
|
|||||||
!nextInputField.validateNew(undefined, undefined, true) :
|
!nextInputField.validateNew(undefined, undefined, true) :
|
||||||
!nextInputField.value
|
!nextInputField.value
|
||||||
) {
|
) {
|
||||||
placeCaretAtEnd(nextInputField.input);
|
placeCaretAtEnd(nextInputField.input, true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user