Skip to content

Commit

Permalink
bug fixed in script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
khalid586 authored Feb 23, 2024
1 parent 7d5e1f7 commit 67c2f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function check(){
document.getElementById('seat_done1').classList.add('text-gray-300');
}

if(name.length && phone.length == 11 && valid_phone && count && !confirmed){
if(name.length > 3 && phone.length == 11 && valid_phone && count && !confirmed){
document.getElementById('confirmation').removeAttribute('disabled');
}else{
document.getElementById('confirmation').setAttribute('disabled','true');
Expand Down

0 comments on commit 67c2f92

Please sign in to comment.