diff --git a/js/rescheduler.js b/js/rescheduler.js
index 56e0fb9..53486b7 100644
--- a/js/rescheduler.js
+++ b/js/rescheduler.js
@@ -197,17 +197,17 @@
let $latestAscTime = $latestAscTimes.available_times[0];
- // document.getElementById("appointments_asc_appointment_time").innerHTML = "";
- // document.getElementById("appointments_asc_appointment_time").value = $latestAscTime;
+ document.getElementById("appointments_asc_appointment_time").innerHTML = "";
+ 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) {
diff --git a/manifest.json b/manifest.json
index acd7cc3..35755a6 100644
--- a/manifest.json
+++ b/manifest.json
@@ -24,5 +24,5 @@
"manifest_version": 3,
"name": "not-a-rescheduler",
"permissions": [ "storage", "tabs", "activeTab", "notifications", "declarativeContent" ],
- "version": "0.0.5"
+ "version": "0.0.6"
}