Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Suisin/solve production refuted issue in IDV verification (#7332)
Browse files Browse the repository at this point in the history
* 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

1 comment on commit 1e6c0cb

@vercel
Copy link

@vercel vercel bot commented on 1e6c0cb Feb 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

binary-static – ./

binary-static-git-master.binary.sx
binary-static.binary.sx

Please sign in to comment.