some bugfixes

This commit is contained in:
glax 2023-05-23 15:19:09 +02:00
parent 22d6389d38
commit ccfa213b77

View File

@ -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;