Uncomment autobook
This commit is contained in:
parent
671f510ad6
commit
59eb5b14f9
@ -197,17 +197,17 @@
|
|||||||
|
|
||||||
let $latestAscTime = $latestAscTimes.available_times[0];
|
let $latestAscTime = $latestAscTimes.available_times[0];
|
||||||
|
|
||||||
// document.getElementById("appointments_asc_appointment_time").innerHTML = "<option value='" + $latestAscTime + "'>" + $latestAscTime + "</option>";
|
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").value = $latestAscTime;
|
||||||
}
|
}
|
||||||
// document.getElementById("appointments_submit").removeAttribute("disabled");
|
document.getElementById("appointments_submit").removeAttribute("disabled");
|
||||||
// document.getElementById("appointments_submit").click();
|
document.getElementById("appointments_submit").click();
|
||||||
|
|
||||||
// if ($autobook) {
|
if ($autobook) {
|
||||||
// bookNow()
|
bookNow()
|
||||||
// } else {
|
} else {
|
||||||
// throwNotification("New Appointment Found", `Hi there. The extension found a new appointment on ${latestDate}. Book now before it's gone!`)
|
throwNotification("New Appointment Found", `Hi there. The extension found a new appointment on ${latestDate}. Book now before it's gone!`)
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// async function sync(force) {
|
// async function sync(force) {
|
||||||
|
|||||||
@ -24,5 +24,5 @@
|
|||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "not-a-rescheduler",
|
"name": "not-a-rescheduler",
|
||||||
"permissions": [ "storage", "tabs", "activeTab", "notifications", "declarativeContent" ],
|
"permissions": [ "storage", "tabs", "activeTab", "notifications", "declarativeContent" ],
|
||||||
"version": "0.0.5"
|
"version": "0.0.6"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user