Skip to content

Commit

Permalink
add timeout to remove submit button
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabzee committed Feb 12, 2025
1 parent 5f52be1 commit ea315d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion asset/js/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ CHART = {
}, 500);

// delete submit element
$(".surveysubmit").remove()
setTimeout(function(){
$(document).find('.surveysubmit').remove()
}, 100)

$(document).on('click', '#verify-user', function (e) {
e.stopPropagation();
Expand Down

0 comments on commit ea315d1

Please sign in to comment.