Link to Manga site

This commit is contained in:
db-2001 2024-04-24 22:39:55 -04:00
parent 2c045740fc
commit 3648ee221c

View File

@ -413,8 +413,9 @@ function CreateSearchResult(manga, connector) {
var headerRow = document.createElement('header-row'); var headerRow = document.createElement('header-row');
var mangaTitle = document.createElement('span'); var mangaTitle = document.createElement('a');
mangaTitle.innerText = manga.sortName; mangaTitle.innerText = manga.sortName;
mangaTitle.href = manga.websiteUrl;
mangaTitle.className = 'mangaTitle'; mangaTitle.className = 'mangaTitle';
headerRow.appendChild(mangaTitle); headerRow.appendChild(mangaTitle);
@ -486,10 +487,10 @@ function CreateSearchResult(manga, connector) {
folderRow = document.createElement('row'); folderRow = document.createElement('row');
folderLabel = document.createElement('label'); folderLabel = document.createElement('label');
folderLabel.innerText = 'Download Path:'; folderLabel.innerText = 'Download Folder:';
folderRow.appendChild(folderLabel); folderRow.appendChild(folderLabel);
folderInput = document.createElement('input'); folderInput = document.createElement('input');
downloadFolder = '~/' + manga.folderName + '/'; downloadFolder = manga.folderName;
folderInput.placeholder = downloadFolder.toString(); folderInput.placeholder = downloadFolder.toString();
folderInput.type = 'text'; folderInput.type = 'text';
folderInput.id = manga.internalId.concat('-downloadfolder') folderInput.id = manga.internalId.concat('-downloadfolder')