From 3648ee221cf42d7c296a9ba8ed6e1b38e6cb7fdc Mon Sep 17 00:00:00 2001 From: db-2001 Date: Wed, 24 Apr 2024 22:39:55 -0400 Subject: [PATCH] Link to Manga site --- Website/interaction.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Website/interaction.js b/Website/interaction.js index 355590d..6ad02b4 100644 --- a/Website/interaction.js +++ b/Website/interaction.js @@ -413,8 +413,9 @@ function CreateSearchResult(manga, connector) { var headerRow = document.createElement('header-row'); - var mangaTitle = document.createElement('span'); + var mangaTitle = document.createElement('a'); mangaTitle.innerText = manga.sortName; + mangaTitle.href = manga.websiteUrl; mangaTitle.className = 'mangaTitle'; headerRow.appendChild(mangaTitle); @@ -486,10 +487,10 @@ function CreateSearchResult(manga, connector) { folderRow = document.createElement('row'); folderLabel = document.createElement('label'); - folderLabel.innerText = 'Download Path:'; + folderLabel.innerText = 'Download Folder:'; folderRow.appendChild(folderLabel); folderInput = document.createElement('input'); - downloadFolder = '~/' + manga.folderName + '/'; + downloadFolder = manga.folderName; folderInput.placeholder = downloadFolder.toString(); folderInput.type = 'text'; folderInput.id = manga.internalId.concat('-downloadfolder')