Skip to content

Commit

Permalink
Suisin/solve production refuted issue in IDV verification (binary-com…
Browse files Browse the repository at this point in the history
…#7332)

* chore: add preventDefault and stopPropagation

* chore: add preventDefault and stopPropagation

* chore: added preventDefault and stopPropagation for idv_document_failed_try_again_btn

* empty

---------

Co-authored-by: Matin shafiei <[email protected]>
  • Loading branch information
suisin-deriv and matin-deriv authored Feb 8, 2023
1 parent bd4e2ab commit 1e6c0cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/javascript/app/pages/user/account/authenticate.js
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,9 @@ const Authenticate = (() => {
$('#idv_document_failed_upload_btn').setVisibility(0);
// If IDV has remaining attempt
if (Number(idv_submissions_left) > 0) {
$('#idv_document_failed_try_again_btn').on('click', () => {
$('#idv_document_failed_try_again_btn').on('click', (e) => {
e.preventDefault();
e.stopPropagation();
$('#idv_document_failed').setVisibility(0);
handleCountrySelector();
});
Expand Down

0 comments on commit 1e6c0cb

Please sign in to comment.