Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pancham1603 committed Dec 2, 2023
1 parent 3b71ede commit ba8a1a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/validation/static/info.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function resetProfile() {
document.querySelector('.profile-card').innerHTML=`
<img class="tempimg"src="https://static.vecteezy.com/system/resources/previews/005/129/844/non_2x/profile-user-icon-isolated-on-white-background-eps10-free-vector.jpg" alt="Profile Picture" class="profile-picture">
<img class="tempimg"src="https://static.vecteezy.com/system/resources/previews/005/129/844/non_2x/profile-user-icon-isolated-on-white-background-eps10-free-vector.jpg" alt="Profile Picture" style="opacity:0.5;" class="profile-picture">
</div>`;
resetPass();
}
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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) {

Expand Down

0 comments on commit ba8a1a7

Please sign in to comment.