Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
App004 authored Oct 24, 2024
1 parent a4d558b commit c685085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ <h1>ยินดีต้อนรับสู่เว็บ</h1>
icon: "warning",
title: "รอคิว",
html: "<b></b>",
timer: 30,
timer: 50,
timerProgressBar: true,
didOpen: () => {
Swal.showLoading();
const timer = Swal.getPopup().querySelector("b");
timerInterval = setInterval(() => {
timer.textContent = `${Swal.getTimerLeft()}`;
}, 5);
}, 1);
},
willClose: () => {
clearInterval(timerInterval);
Expand Down

0 comments on commit c685085

Please sign in to comment.