feat(webui): add footer

Also make it automatically open the web when you launch the app.
This commit is contained in:
2024-03-23 00:48:49 +07:00
parent c2203943e2
commit 620587e79b
4 changed files with 30 additions and 1 deletions

View File

@ -80,6 +80,8 @@ getLessonButton.addEventListener('click', async () => {
for (const [id, video] of Object.entries(ids)) {
promises.push(async () => {
const checkbox = document.querySelector(`#${id}`);
// Disable the checkbox since the user can't download the same video twice
checkbox.disabled = true;
if (!checkbox.checked) {
return;
}