Skip to content

Commit

Permalink
fixed POI broken page for refuted clients (binary-com#7289)
Browse files Browse the repository at this point in the history
Co-authored-by: Matin shafiei <[email protected]>
  • Loading branch information
suisin-deriv and matin-deriv authored Jan 30, 2023
1 parent 596fe3a commit ef449b2
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 @@ -1307,7 +1307,9 @@ const Authenticate = (() => {
$('#idv_document_failed_try_again_btn').setVisibility(0);
$('#idv_document_failed_text').setVisibility(1);
$('#idv_document_failed_upload_btn').setVisibility(1);
$('#idv_document_failed_upload_btn').on('click', () => {
$('#idv_document_failed_upload_btn').on('click', (e) => {
e.preventDefault();
e.stopPropagation();
$('#idv_document_failed').setVisibility(0);
if (Number(onfido_submissions_left) > 0) {
handleCountrySelector();
Expand Down

0 comments on commit ef449b2

Please sign in to comment.