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

Commit 1e6c0cb

Browse files
Suisin/solve production refuted issue in IDV verification (#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 <matin@deriv.com>
1 parent bd4e2ab commit 1e6c0cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/javascript/app/pages/user/account/authenticate.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,9 @@ const Authenticate = (() => {
12991299
$('#idv_document_failed_upload_btn').setVisibility(0);
13001300
// If IDV has remaining attempt
13011301
if (Number(idv_submissions_left) > 0) {
1302-
$('#idv_document_failed_try_again_btn').on('click', () => {
1302+
$('#idv_document_failed_try_again_btn').on('click', (e) => {
1303+
e.preventDefault();
1304+
e.stopPropagation();
13031305
$('#idv_document_failed').setVisibility(0);
13041306
handleCountrySelector();
13051307
});

0 commit comments

Comments
 (0)