From ccfa213b77b398b18927a8f0022a668245aafe67 Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 23 May 2023 15:19:09 +0200 Subject: [PATCH] some bugfixes --- Website/interaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Website/interaction.js b/Website/interaction.js index 2ab3a84..05df64c 100644 --- a/Website/interaction.js +++ b/Website/interaction.js @@ -56,7 +56,7 @@ searchPublicationQuery.addEventListener("keypress", (event) => { var option = CreatePublication(publication); option.addEventListener("click", () => { CreateNewMangaDownloadTask( - taskTypesSelect.select, + "DownloadNewChapters", connectorSelect.value, publication.internalId ); @@ -67,7 +67,7 @@ searchPublicationQuery.addEventListener("keypress", (event) => { } }); -function CreatePublication(publcationData){ +function CreatePublication(publication){ var option = document.createElement('publication'); var img = document.createElement('img'); img.src = publication.posterUrl;