Uncomment autobook
This commit is contained in:
@@ -197,17 +197,17 @@
|
||||
|
||||
let $latestAscTime = $latestAscTimes.available_times[0];
|
||||
|
||||
// document.getElementById("appointments_asc_appointment_time").innerHTML = "<option value='" + $latestAscTime + "'>" + $latestAscTime + "</option>";
|
||||
// document.getElementById("appointments_asc_appointment_time").value = $latestAscTime;
|
||||
document.getElementById("appointments_asc_appointment_time").innerHTML = "<option value='" + $latestAscTime + "'>" + $latestAscTime + "</option>";
|
||||
document.getElementById("appointments_asc_appointment_time").value = $latestAscTime;
|
||||
}
|
||||
// document.getElementById("appointments_submit").removeAttribute("disabled");
|
||||
// document.getElementById("appointments_submit").click();
|
||||
document.getElementById("appointments_submit").removeAttribute("disabled");
|
||||
document.getElementById("appointments_submit").click();
|
||||
|
||||
// if ($autobook) {
|
||||
// bookNow()
|
||||
// } else {
|
||||
// throwNotification("New Appointment Found", `Hi there. The extension found a new appointment on ${latestDate}. Book now before it's gone!`)
|
||||
// }
|
||||
if ($autobook) {
|
||||
bookNow()
|
||||
} else {
|
||||
throwNotification("New Appointment Found", `Hi there. The extension found a new appointment on ${latestDate}. Book now before it's gone!`)
|
||||
}
|
||||
}
|
||||
|
||||
// async function sync(force) {
|
||||
|
||||
Reference in New Issue
Block a user