diff --git a/apps/validation/static/info.js b/apps/validation/static/info.js index b22618d..1e99104 100644 --- a/apps/validation/static/info.js +++ b/apps/validation/static/info.js @@ -1,6 +1,6 @@ function resetProfile() { document.querySelector('.profile-card').innerHTML=` - Profile Picture + Profile Picture `; resetPass(); } @@ -156,7 +156,7 @@ function checkIn(registration_number) { dataType: "json", timeout: 120000, success: function (response) { - document.getElementById('roll_num').focus(); + if (!navigator.userAgentData.mobile) {document.getElementById('roll_num').focus();} let res = response.status; if (res) { // resetProfile(); @@ -185,7 +185,7 @@ function checkOut(registration_number) { dataType: "json", timeout: 120000, success: function (response) { - document.getElementById('roll_num').focus(); + if (!navigator.userAgentData.mobile) {document.getElementById('roll_num').focus();} let res = response.status; if (res) {